title: Can I determine what button was clicked to fire an onSubmit event?
body: <p>I've got an onsubmit handler added to a form like so:</p>
  
  <pre><code>    $('#content_form').bind('submit',function(e) {
  
          source = $(e.target).attr('name');
          alert(source);
          return false;
      });
  </code></pre>
  
  <p>so e.target = the form element. I'm using several submit buttons, and need to determine which one was actually clicked (in modern browsers, that clicked button is the only one that submits, I'm doing this for IE6 compat - it submits the values of all the buttons).</p>
  
  <p>My only thought it to kill any onsubmit events, and then tie click events to the buttons themselves. This would kill the form functionality entirely if javascript wasn't enabled, so I'd like to avoid this.</p>