I would like to know how to solve VALIDATOR IS UNDEFINED error using jquery.validate .js.
firebug say the error in line 276
function delegate(event) {
274 var validator = $.data(this[0].form,
275 "validator" );
276 validator.setti ngs["on" + event.type]
277 && validator.setti ngs["on"
278 + event.type].call(
279 validator, this[0]);
can anyone know how to solve this kind of error
my javascript code is
firebug say the error in line 276
function delegate(event) {
274 var validator = $.data(this[0].form,
275 "validator" );
276 validator.setti ngs["on" + event.type]
277 && validator.setti ngs["on"
278 + event.type].call(
279 validator, this[0]);
can anyone know how to solve this kind of error
my javascript code is
Code:
jQuery('#cost').editable(function(value, settings) {
jQuery('[name=<portlet:namespace />cost]').val(value);
return(value);
},
{
type : 'textarea',
width : '100px',
submit : 'Update',
cssclass: 'formEdit'
});
Comment