jquery get value by name

JavaScript
$('td[name ="tcol1"]')   // matches exactly 'tcol1'
$('td[name^="tcol"]' )   // matches those that begin with 'tcol'
$('td[name$="tcol"]' )   // matches those that end with 'tcol'
$('td[name*="tcol"]' )   // matches those that contain 'tcol'$("input[name=nameGoesHere]").val();$( "input" )
    var value = $( this ).val();
// Get the value from id thisElement
$("#thisElement"). val();
Source

Also in JavaScript: