I have 2 text inputs on my page, and user is required to fill
both of them. When the user tries to navigate to another page
without filling any of those, I give an alert box and set the focus
to the unfilled text input using drawFocus() method. Can anyone
tell how to show the cursor also in the text input in focus?