Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: Form

  1. #1
    Regular Coder
    Join Date
    Jun 2009
    Thanked 2 Times in 2 Posts


    Im not going to show all of the ajax script but heres the form part which is php:

    PHP Code:
    <form>Difficulty: <input type="text" id="txt1" onkeyup="showHint(this.value)" /></form>
    p>Info: <span id="txtHint"></span></p>

    form action="People_Score.php" method="get">
    1. Who was the Scranton Branch Manager? <input type="text" name="MichaelScott01" /> 
    2. What is Dwight's job title? <input type="text" name="Dwight01" /> 
    <input type="submit" />
    But as you can see, for the ajax to work I had to make an entirely new form. Which means when you click submit, the ajax part wont be submitted with the rest of the form. How can combine them so the ajax accually works?

    Edit: OMG, What am I talking about! It does work, lol, I dont know what happened the first time.
    Last edited by Ndogg; 12-30-2009 at 09:07 AM.


Tags for this Thread

Posting Permissions

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