Feb 19, 2013, 10:33 AM
[CLOSED] Back button returns focus to previous control in IE
I have one page with a login control with a text box. When the user clicks the text box, the focus listener puts a notification up on the screen and redirects (clientside) to a secure login page.
The problem I'm having is when the user clicks the back button to return to the prioer page, focus is returned back to the text box they last clicked and the listener is reactivating the forward to the login page instead of landing back where they were (basically rendering the back button futile).
I've looked online to see if this might be an html thing but I'm thinking its the extjs client code is managing the return to the former control, not IE. Not 100%.
I even tried placing code in the focus handler to change the focus to another control before the redirect but that doesn't seem to affect anything.
The problem I'm having is when the user clicks the back button to return to the prioer page, focus is returned back to the text box they last clicked and the listener is reactivating the forward to the login page instead of landing back where they were (basically rendering the back button futile).
I've looked online to see if this might be an html thing but I'm thinking its the extjs client code is managing the return to the former control, not IE. Not 100%.
I even tried placing code in the focus handler to change the focus to another control before the redirect but that doesn't seem to affect anything.
Last edited by geoffrey.mcgill; Feb 26, 2013 at 7:30 AM.
Reason: [CLOSED]