I have one HTML button like,
$('element[name="element_name"]').click(function(){ //do stuff });
in your case:
$('input[name="btnName"]').click(function(){ //do stuff });