Understanding js array/object

后端 未结 0 1946
南笙
南笙 2020-12-19 04:54

The below code returns [ ] in the console:

var postdata = {};
$.each($(\'#form\').serializeArray(), function() {
    postdata[this.name] = this.value;
}); 
va         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题