jquery name value code example
Example 1: name selector jquery
$('td[name ="tcol1"]')
$('td[name^="tcol"]' )
$('td[name$="tcol"]' )
$('td[name*="tcol"]' )
Example 2: get name jquery
$('#yourid').attr('name')
Example 3: get element by name in jquery
$('td[name ="tcol1"]')
Example 4: jquery selector partial attribute
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>attributeStartsWith demo</title>
<script src="https://code.jquery.com/jquery-3.5.0.js"></script>
</head>
<body>
<input name="newsletter">
<input name="milkman">
<input name="newsboy">
<script>
$( "input[name^='news']" ).val( "news here!" );
</script>
</body>
</html>