SyntaxFix
Write A Post
Hire A Developer
Questions
$('element[name="element_name"]').click(function(){ //do stuff });
in your case:
$('input[name="btnName"]').click(function(){ //do stuff });