jQuery: Unbinding event handlers

Click the flower...



The jQuery Code START
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script type="text/javascript">
      $(function() {
          $('#target').bind('click', clicker);
      });

      function clicker(event) {
        alert('Click event bound');
        $('#target').unbind('click', clicker);
      }
      
    </script>
    
    <style type="text/CSS">
        <!--
        .code { color: red; }
        .back { background-color: yellow; }
        -->
   </style>
  </head>

  <body>
    <h1>jQuery: Unbinding event handlers</h1>
    <h3>Click the flower...</h3>
    <img id="target" src="Image1.jpg"/>
    <br /><br />