Bind image button click

Bind image button click

I have an image button and i am trying to bind  click event to a function.
I have tried binding it using its id:
  $("#imgBtn").click(function () {   alert('Img btn clicked'); });   and 
   $("#imgBtn ").live('click',function () {      alert('Img btn clicked'); });   and     
   $(document).ready(function () {
   $("#imgBtn").click(function () {    alert('Img btn clicked'); });  
But am not able to achieve this.