how to call name in jquery code example
Example: bind jquery trough name
<html>
<input type="button" id="btnSubmit" name="btnName" class="btnclass" value="Click Me" />
</html>
$('input[name="btnName"]').click(function(){
//do stuff
});
<html>
<input type="button" id="btnSubmit" name="btnName" class="btnclass" value="Click Me" />
</html>
$('input[name="btnName"]').click(function(){
//do stuff
});