I am writing a password change/reset application. When the user knows his/her current password, they simply enter their uid and password and I have a Blur handler in place that validates them as soon as the password field looses focus. Below that are two password entry fields (a type your new password once and retype it kind of thing). The two fields are disabled until the user is validated. Once they are validated (a matter of milliseconds), the two fields are enabled and I set focus to true on the first of the two fields.
On Firefox and even IE, whether they click on the mouse when they've entered their current password or hit the TAB key, it works as intended. But on Safari, if the user hits the TAB key, the focus moves immediately to the location bar. I'm presuming that it's because at the time the user hits the TAB, there is no other enabled field available to focus. But once they've validated themselves, I enable the two other fields and set focus to true for the upper of the two. On the screen the two fields are clearly enabled (I can click into them just fine), but focus remains with the location bar. How do I get around this apparently Safari only issue? Any ideas? Thanks, Rob -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
