Hellos,
http://ruphus.com/code/js/focusdebug/dropdown.html
I'm trying to debug a problem with focus and Firebug, and I really
can't figure out what's causing the problem. The samples in that demo
are variations on this theme:
$('#clickme').click(function(){
$('#yourname').get(0).focus();
return false;
});
<a href="#" id="clickme">click to fill out form</a>
<div id="one" class="dropdown"><strong>your name:</strong> <input
id="yourname"></div>
Focusing works only sporadically.
For a while I thought the problem had to do with the fact that the
input I wanted to focus was revealed by a slideDown, or then that it
had to do with a need for a timeout; hence to the other three variants
in my demo. '
But at this point I'm just thinking it's some sort of weird Firefox
bug. (It works in Opera, haven't tested elsewhere.)
Anyone run into this?
-p@
--
Within the armour is the butterfly and within the butterfly--is the
signal from another star. -pkd
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/