$("input[name=nameGoesHere]").val();
$('#yourid').attr('name')
var value = $("[name='nameofobject']");
var name = $("#id").attr("name");
$('td[name ="tcol1"]')
<tr>
<td>data1</td>
<td name="tcol1" class="bold"> data2 </td>
</tr>
<script>
$('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'
</script>
var n = $("input[name^= 'card']").length;
$('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'