get name inside jquery code example
Example 1: jquery get value by name
$("input[name=nameGoesHere]").val();
Example 2: get name jquery
$('#yourid').attr('name')
$("input[name=nameGoesHere]").val();
$('#yourid').attr('name')