If I use
setTimeout(function{$('#myElement').focus()}, 10)`
during the loading of a jquery-ui dialog containing tabs, the rendering of the tabs breaks! Specifically, their background images fail to appear which makes them look like garbage. This ONLY happens when I set a timeout on document ready to focus the first text input in the popup.
This behavior is bizarre. Thoughts?
Note: This only happens in firefox and opera.