Because I am using the redirection of a form into an IFRAME and uses DHTML to refresh the page where the form sits into, this has somewhat an effect on the events in regards to the javascript. I have a very simple set focus code to set the focus into the search field. But, when being used like this, I have to add an alert() so to see the cursor in the field. Otherwise, the cursor is not there.
alert("focus1")
document.Form1.Search.focus()
So, I believe I have to replace the alert() with some kind of javascript related code which would set the focus into that page. As, because the post was redirected into an IFrame, the focus cannot be set elsewhere. Anyone would know how to do it?