title: preventDefault won't work on Firefox
body: <p>I'm trying to prevent A HREF from actually opening the link, but to execute a script. I got the script part working, but it seems Firefox would just ignore this:</p>
  
  <pre><code>$("#permalink a").click(function(id){
    $("#newPost").fadeToggle;
    event.preventDefault();
    var id = this.getAttribute('href');
    $("#newPostContent").load(id);
    $("#newPost").show("fast");
  });
  </code></pre>
  
  <p>Can anyone suggest a cross-browser script for preventing defaults?</p>