jQuery 1.4.2 .live() IE bug


Open this page in IE (any version).

Live submit event is fired when triggered by Enter inside text input. When submit is triggered by submit button, default form action occurs.

This happens in IE only and only when some .live('click') handler is attached before we attach live submit.

This bug was introduced in jQuery 1.4.2 (came along with .delegate() probably).

Everything works as expected in jQuery 1.4.1 or when you attach live submit before attaching the live click.


$('.remote_link').live('click', handleStuff);
$('.remote_form').live('submit', handleStuff);

function handleStuff() {
  alert('It works!');
  return false;


Live events handling in IE.

Excuse my English, please...