= function(method) {
var form = $(this);
if(!form[0]) return form;
if (typeof(method) ==
'string' && method.charAt(0) !=
'_' &&
methods[method]) {
if(method != "showPrompt" && method != "hide" && method != "hideAll")
return methods[method].apply(form, Array.prototype.slice.call(arguments, 1));
} else if (typeof method == 'object' || !method) {
methods.init.apply(form, arguments);
} else {
$.error('Method ' + method + ' does not exist in jQuery.validationEngine');
}
}
var methods
Definition: jquery.validationEngine.js:17
Plugin entry point. You may pass an action as a parameter or a list of options. if none, the init and attach methods are being called. Remember: if you pass options, the attached method is NOT called automatically