摘要:
1 $.extend($.fn.form.methods, { 2 serialize: function(jq){ 3 var arrayValue = $(jq[0]).serializeArray(); 4 var json = {}; 5 $.each(arrayValue, function() { 6 var item = this; 7 if (json[item["name"]]) { 8 json[item["name"]] = j... 阅读全文