PDA

Click to See Complete Forum and Search --> : Access Text box using javascript


JohnSmith
Jun 14th, 2002, 01:50 PM
I am trying to access this text box through javascritp but unable to:

<FORM action="Page2.asp" method=post id=form1 name=form1?

<INPUT id=text1 name=text1 value="<%=Name%>">

</form>

In my javascript I have:

as soon as type form1 and then hit the . key the text1 should appear in the list that appears..


How come it is not?

cpradio
Jun 14th, 2002, 02:02 PM
Corrections made in red:

<form action="Page2.asp" method="post" id="form1" name="form1">
<input id="text1" name="text1" value="<%=Name%>">
</form>

JohnSmith
Jun 14th, 2002, 03:56 PM
I tried it and it didnt work..

JohnSmith
Jun 14th, 2002, 04:10 PM
I have attached the asp page...

In the CheckIt function, right after the FORM1, press . and then try to find Date1 or Date2..