Javascript focus and select not working in FF
Posted
by Metropolis
on Stack Overflow
See other posts from Stack Overflow
or by Metropolis
Published on 2010-04-01T18:34:31Z
Indexed on
2010/04/01
18:43 UTC
Read the original article
Hit count: 237
Hey guys,
Using jQuery, the following is not working in FF, but it is in IE
$(this).focus().select();
I looked around for this and found that you could use a timeout to get around this, but that is not something I want to do if I can avoid it. Does anyone know another way to do this and have it work in FF?
Metropolis
© Stack Overflow or respective owner