jquery/jquery-mobile — Issue #2858: Button text hit test issue
Author: siromega
Created: 2011-10-26 23:52:48+00:00
State: open

jsFiddle: http://jsfiddle.net/siromega/6HYvw/2/

Issue: in IE9 and IE7 (though the fiddle doesn't work with IE7, beacuse, well, its IE7), if you click on the button you'll get the click event (hello!), but when you click on the text, the click event doesn't fire. The emitted HTML shows why - the text is a span outside the input element, and the click event is only attached to the button.

Start