get value from each input field with same id javascript code example
Example: how to fetch the all input element id value
BY LOVE
This function will give you all the ID values of input element
$('input').each(function (i, item)
{
alert(item.id);
});