pr.nimbalkar Posted December 13, 2006 Share Posted December 13, 2006 Why does 'focus' function of javascript cann't work in Mozilla firefox? Link to comment Share on other sites More sharing options...
aspnetguy Posted December 13, 2006 Share Posted December 13, 2006 can you post your code? Link to comment Share on other sites More sharing options...
pulpfiction Posted December 13, 2006 Share Posted December 13, 2006 I guess you must be using thismyField.focus();try changing to this below...setTimeout("this.Field.focus();",0); Link to comment Share on other sites More sharing options...
Beta Posted December 13, 2006 Share Posted December 13, 2006 Why does 'focus' function of javascript cann't work in Mozilla firefox? globalvar = myField;setTimeout("globalvar.focus()", 0); That should work also...can you even do setTimeout with 0?https://bugzilla.mozilla.org/show_bug.cgi?id=236791 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now