aspx Tutorial

NET Articles,jQuery demo, with jQuery, online tutorial,Jquery, SilverLight, Javascript,,JSON, MVC,.NET Articles,demo, Web Services,
Advertise Here


Get our toolbar!


Posted by Aamir Hasan   on Friday, January 7, 2011 Total Views:  

I was recently asked a question, that how to validate email address using jQuery in web site. jQuery validation Plugin is best choice for validation.

Here's an example

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>

<html xmlns="">
<head id="Head1" runat="server">
   <title>Validation of Email address using jQuery in</title>
   <style type="text/css">
           margin-left: .5em;
           float: left;
       #field, label
           float: left;
           font-family: Arial, Helvetica, sans-serif;
           font-size: small;
           clear: both;
           color: Red;
           color: Red;
           padding-left: 16px;
           margin-left: .3em;
           display: block;
           width: 16px;
           height: 16px;
   <script type="text/javascript" src=""></script>
   <script type="text/javascript" src=""></script>
   <script type="text/javascript">
           debug: true,
           success: "valid"
       }); ;
       $(document).ready(function () {
               rules: {
                   field: {
                       required: true,
                       email: true
   <form id="form1" runat="server">
       <label for="field">
           Email Address:<span id="star" class="mend"> *</span>
       &nbsp;<input class="left" id="field" name="field" />
       <br />
       <br />
       <input type="submit" value="Submit" /></div>



Download (3.61 kb)

See Live Demo

Protected by Copyscape Online Plagiarism Tool

Add comment

  Country flag

  • Comment
  • Preview

Advertizement 1
Advertizement 2
Advertizement 3
Advertizement 4
Advertizement 5