Hello everyone-
I am trying using vbscript, and am creating an IE window with it. So far this is the code that I have appearing in the window:
<p>Assist Complete. <i>(You may now close this window.)</i></p>
<p><BUTTON TYPE=BUTTON NAME="Close" TABINDEX=0 onClick="self.close()">Close </BUTTON></p>
All I would like to do is set it so that the focus in the new window is on the button so that the user can just hit Enter to close the window. Does anyone know how to control where the "focus" is? Or any other way to assign the Enter key to that button?
Thanks!
-Mark
I am trying using vbscript, and am creating an IE window with it. So far this is the code that I have appearing in the window:
<p>Assist Complete. <i>(You may now close this window.)</i></p>
<p><BUTTON TYPE=BUTTON NAME="Close" TABINDEX=0 onClick="self.close()">Close </BUTTON></p>
All I would like to do is set it so that the focus in the new window is on the button so that the user can just hit Enter to close the window. Does anyone know how to control where the "focus" is? Or any other way to assign the Enter key to that button?
Thanks!
-Mark