validation using jquery in asp.net
Hi, here this example shows how we can perform validatin without server side code and perform validation in client side only. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <style> .itemContent { margin:2px 0px 2px 0px; clear:both; border-width:0px; } .itemContent label { display:block; float:left; margin-right:5px; width:150px; text-align:right; } .itemContent div.controls { display:block; float:left; } </style> <script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.js" type="text/jav