element = $('input[name="element_name"]');
$("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;
if ($('[name=RDW]').val().trim() != "" && typeof ($('[name=RDW]').val().trim()) != 'undefined') {
html += "<tr><td>RDW (%)</td><td>" + $('[name=RDW]').val().trim() + "</td><td> (13-22)(15-27)</td></tr>";}
Jquery Get Element by Name
$('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'