I want to get values of the input element that those elements are under the same name, name=\"items[]\" for example:
...
var values = []; $("input[name='items[]']").each(function() { values.push($(this).val()); });