Textbox validation using jquery
by satheeshkumar[ Edit ] 2012-05-28 11:34:56
Textbox validation using jquery if it is empty:
The following code is used to validate all the text box in the form if it is empty,
var emptyTextBoxes = $('input:text').filter(function() { return this.value == ""; });
chkInpEmp.each(function() {
string = this.id;
$("#"+string+"").html("Field is empty");
});