Commit 6a670df9 authored by Dave Methvin's avatar Dave Methvin Committed by timmywil

Rework the special events interface to add handle and trigger hooks. Modify IE...

Rework the special events interface to add handle and trigger hooks. Modify IE change/submit special events to take advantage of them. Rewrite mouseover/enter code as special events rather than inline code. In the event unit test, set a tabindex on the div element and focus it first to justify a legitimate blur event.
parent df6e0d50
This diff is collapsed.
...@@ -1457,6 +1457,9 @@ test(".live()/.die()", function() { ...@@ -1457,6 +1457,9 @@ test(".live()/.die()", function() {
jQuery("#nothiddendiv div").die("click"); jQuery("#nothiddendiv div").die("click");
// div must have a tabindex to be focusable
jQuery("#nothiddendiv div").attr("tabindex", "0")[0].focus();
jQuery("#nothiddendiv div").live("blur", function(){ jQuery("#nothiddendiv div").live("blur", function(){
ok( true, "Live div trigger blur." ); ok( true, "Live div trigger blur." );
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment