jquery - Catching a click event on a SELECT in IE prevents from selection -
jquery - Catching a click event on a SELECT in IE prevents from selection -
i want enlight select , td container when click on this:
$("#fordelegation").on("click", "td", function (evt) { $(".ui-state-focus").removeclass("ui-state-focus"); $(this).addclass("ui-state-focus"); $(evt.target).addclass("ui-state-focus"); });
you can test on fiddle: http://jsfiddle.net/sinsedrix/9sudt/
with ie, unusual behaviour, cannot select alternative anymore. people not trick here behaviour videos:
good on ff: https://docs.google.com/open?id=0b503huuz979cmgi2ntrjytetnty0os00mtvhlwe5mzktnty0yjk1mmnizge3 bad on ie: https://docs.google.com/open?id=0b503huuz979czwnjowy2ytqtzdbjzc00mgqylwi2mdgtyzg1n2q1zwi0n2uythe question : should dig prepare bad behaviour ?
i stuck on trick :( every thought welcome.
edit 1 setting style straight works though http://jsfiddle.net/9sudt/37/
it boils downwards ie bug, if alter class of select redrawn , closed.
see stackoverflow question , accepted answer jquery select box focus problem in net explorer
see illustration in ie http://jsfiddle.net/9sudt/34/ if click on select sec time, works again, because class not changed then
jquery internet-explorer
Comments
Post a Comment