20 Jun 2012 9:58 AM #11
This worked on IE 6 but did not work on IE 7 & 8.
I am not sure what the problem is.
20 Jun 2012 10:36 AM #12
- Join Date
- Jul 2010
- Houston, Tx
- Vote Rating
20 Jun 2012 11:15 AM #13
26 Jun 2012 11:15 AM #14
The problem only occurs when trying to change the focus from the blur event of the last enabled field on the form. (No buttons after it or anything else.) When you tab out of the last enabled field on the form, the focus goes to the address bar. Even though you issue the command to change the focus back to the field, the cursor gets stuck in address bar.
I was able to create a workaround by creating a text field with width 0 as the last field on the form. Since this field has 0 width, it isn't visible and doesn't affect the functionality of the form. With this field in place, tabbing from the last field on the form would go to the 0-width text field instead of the address bar, and now the blur event is able to set the focus back to the field that fired the blur event.