Hi,

There is a bug with jQuery 1.3.2 live() feature in IE7 when a live()
click event is bound to an element that is disabled, the click event
still fires when disabled element is clicked. FF3 does not suffer from
this bug.

Below a simple example showing the bug:


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                    "http://www.w3.org/TR/html4/loose.dtd";>
<html>
<head>
  <script src="http://code.jquery.com/jquery-latest.js";></script>
  <script>
  $(document).ready(function(){
        $("button").live("click", function() {
                alert("click");
        });
  });
  </script>
</head>
<body>
        <button type="button" disabled="disabled">Click me</button>
</body>
</html>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to