I have codes :
line:1 var listInput = $('input.model');
line:2 var listVariable = [];
line:3 $.each(listInput, function (index, val) {
line:4 var variable = $(val).data('name');
line:5 var valOf = $(val).val();
line:6 var item = { variable : valOf };
line:7 listVariable.push(item);
line:8 });
I want the "variable" in line 6 that is the "variable" in line 4
Please help me, sorry about my english.
line:1from code