I pressed on with my coding and I've just noticed that focus is now working in IE.
I've no idea what was wrong before.
User Profile
Collapse
-
execScript focus problem (IE specific)
I'm using an Ajax call to open a search box in the page and I want the focus to go to the box automatically.
So, in the httpObject.resp onseText, I tried sending the following in addition to the search box markup:
and, after writing the response using innerHTML, the originating Ajax function...Code:<script type="text/javascript"> document.getElementById('Message').focus(); </script>
No activity results to display
Show More
Leave a comment: