validate text box in jquery

by Ramya 2012-05-25 16:27:14

validate text box in jquery:

Use the following code to validate all text boxes in jquery as,
if($('input:text').is(":empty")){
alert("Field is empty");
}


the above alert will be triggered if any of the text box is empty......

Razz
Razz
1087
like
0
dislike
0
mail
flag

You must LOGIN to add comments