json = {}; $('#test-form :input[type!=submit]').map(function(){ if(this.type !== "radio" || this.checked){ json[this.name] = this.value; } }); json = JSON.stringify(json);
Sign in to make a reply
为谁守专一