Posts: 297
Name: Michael Pehl
Location: Palma de Mallorca
|
Example
Code:
$("input[type=text]").keyup(function(){
$("#form").validate({
rules: {
name: "coche4[marca]",
required: true
}
},
messages: {
comment: "You must insert something."
}
});
});
If your input text button has an ID you can use that, too.
__________________
Chief Web Officer / Front-End Developer / System Engineer
Please login or register to view this content. Registration is FREE - Please login or register to view this content. Registration is FREE
|