87,712
社区成员




var array=new Array(),inputN,inputV;
$('dl').each(function(i){
var othis=$(this),name=othis.attr('data-name');
array[name]=new Array();
othis.find('.each-text').each(function(index,element){
inputN=$(element).attr('name');
inputV=$(element).val();
array[name][inputN]=inputV;
})
})
var array=new Array(),inputN,inputV;
$('dl').each(function(i){
var othis=$(this),name=othis.attr('data-name');
array[i]=new Array();
othis.find('.each-text').each(function(index,element){
inputN=$(element).attr('name');
inputV=$(element).val();
array[i][index]=inputV;
})
})
var array=new Object(),inputN,inputV;
$('dl').each(function(i){
var othis=$(this),name=othis.attr('data-name');
array[name]=new Object();
othis.find('.each-text').each(function(index,element){
inputN=$(element).attr('name');
inputV=$(element).val();
array[name][inputN]=inputV;
})
})