摘要:
function serializeObject(form) { var o = {}; $.each(form.serializeArray(), function(index) { if(o[this['name']]) { o[this['name']] = o[this['name']] + ";" + this['value']; } e... 阅读全文
摘要:
1 var $form = $('#form') 2 $('.lgbtn').click(function() { 3 //e.preventDefault(); 4 var form = $('#form').validator('isFormValid'); 5 ... 阅读全文