[jQuery] help validating...
hello all,
Just wondered if i could ask for some help to spot the error here....
Its throwing an error
$("#addImageForm").validate is not a function
here it is.. cant see the wood for the trees i dont think
$().ready( function() {
$("#addImageForm").validate({
event: "keyup",
rules: {
image_title: { required: true },
image_filename:{ required: true,
accept: "(jpe?g|gif|png)"
}
},
messages: {
image_title: "The Image needs a name",
image_filename: {
required: "You need to select an image to upload",
accept:"Only image files are allowed. (gif, jpg or png)"
}
}
});
--
View this message in context: http://www.nabble.com/help-validating...-tf3849190s15494.html#a10903087
Sent from the JQuery mailing list archive at Nabble.com.