在这个名为called的著名jQuery插件中,有一个名为“onfocusout”的选项。但我想使用另一种名为“onfocusin”的方法,它没有文档化,而是存在于代码中,插件的作者在回复中引用了它。function [Stop on this error] 验证插件:
bassistance.de/jq
让我知道使用引号验证数组输入。jQuery("#demo-form").validate({ 'product[]': {
required: true,minlength: 2 //this only use to validate length of string inputed, not length of array