Ticket #5055 (closed bug: worksforme)
In IE, focussing on newly created elements is erratic
|Reported by:||william_mc||Owned by:||brandon|
If you create an element with jQuery, and attempt a focus, whether it succeeds or not depends on what kind of element previously held focus. The attached code works in IE, but only because the focussing is put in a setTimeout call. Without the setTimeout, it fails. Works fine either way in FF3 and Chrome.