I need to have a button and handle its event in jQuery. And I am writing this code but it\'snot working. Did I miss something?
$("#btnSubmit").click(function(){ alert("button"); });