get input value by name array in jquery code example
Example: how to get name array value in jquery
var values = $("input[name='pname[]']")
.map(function(){return $(this).val();}).get();
var values = $("input[name='pname[]']")
.map(function(){return $(this).val();}).get();