5 pts.
Q:
How do I put focus on field after spanning it?
I have an ActiveX RaiseEvent for a function to span out a form. After doing this I want it to put focus on the first field in the form.

Please someone tell me this is possible

 

 

Here's what I'm trying to do and won't work. I would expect the focus to go onto the "Focus_Here" textbox and it does not after the ActiveX calls the Event_FileWritten. The form displays just fine, just the focus won't go into the field:

 

<script>

Sub Event_Activate()

divForm.innerHTML = "<input type=text name=textbox id='Focus_Here' />"

form.Focus_Here.focus

End Sub

</script>

<html>

<body>

<form name=form>

<div id=divForm></div>

</form>

</body>

</html>

ASKED: Oct 29 2009  9:34 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5 pts.
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • Bookmark and Share
Last Answered: Oct 29 2009  9:34 PM GMT by Chazy777   5 pts.
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _