title: Attach a click() event to the FaceBook 'Like' button?
body: <p>I'd like to do something on the page when a user clicks 'Like'. </p>
  
  <p>I thought something simple like the following would work:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
      $(document).ready(function () {
  
          $('.connect_widget_like_button clearfix like_button_no_like').live('click', function () {
              alert('clicked');
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>This is the iFrame that FaceBook supplies to add the Like button to the page:</p>
  
  <pre><code>&lt;iframe 
      id="FBLike"
      src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.MySite.Com... blahblahblah" 
      scrolling="no" 
      frameborder="0" 
      style="border:none; overflow:hidden; width:450px; height:80px;" 
      allowTransparency="true"&gt;
  &lt;/iframe&gt;
  </code></pre>
  
  <p>My script attempts to bind a click event to an anchor tag that is loaded into the iFrame when the page loads. It doesn't work though. Is there any way for me to get jQuery to recognise when this is clicked? Thanks</p>