Hi,
I'm testing a javascript block created by struts, and I'm receiving a strange result.
The web page is a simple login form, with username and password. Username is a text input, password is a ... well, a passsword input
So I want to put the focus on the password. Under Windows XP with Firefox 1.5.0.6, it correctly puts the focus on the password field.
No under another machine, a Linux CentOs 4.2 with Firefox 1.5.0.5, it just doesn't put any focus at all. If I simply change the password input to type text, it correctly sets the focus.
Maybe version 1.5.0.5 of Firefox, I thought, so I got the 1.5.0.5 version, install it on a Windows XP without any previous Firefox installation, and the problem DOESN'T occur ... so am I safe to assume it's a FF+Linux issue? Or do you have any other ideas?
<edit>code added</edit>
Thanks
I'm testing a javascript block created by struts, and I'm receiving a strange result.
The web page is a simple login form, with username and password. Username is a text input, password is a ... well, a passsword input
So I want to put the focus on the password. Under Windows XP with Firefox 1.5.0.6, it correctly puts the focus on the password field.
No under another machine, a Linux CentOs 4.2 with Firefox 1.5.0.5, it just doesn't put any focus at all. If I simply change the password input to type text, it correctly sets the focus.
Maybe version 1.5.0.5 of Firefox, I thought, so I got the 1.5.0.5 version, install it on a Windows XP without any previous Firefox installation, and the problem DOESN'T occur ... so am I safe to assume it's a FF+Linux issue? Or do you have any other ideas?
<edit>code added</edit>
Thanks