Results 1 to 4 of 4

Thread: Access Text box using javascript

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513

    Question Access Text box using javascript

    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?

  2. #2
    Fanatic Member cpradio's Avatar
    Join Date
    Apr 2002
    Posts
    616
    Corrections made in red:

    <form action="Page2.asp" method="post" id="form1" name="form1">
    <input id="text1" name="text1" value="<%=Name%>">
    </form>
    http://cpradio.net/
    Administrator @ WDForums and a Moderator @ WebXpertz City Forums

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513
    I tried it and it didnt work..

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Feb 2002
    Location
    Hampton Beach
    Posts
    513
    I have attached the asp page...

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width