View Full Version : Form

12-30-2009, 08:02 AM
Im not going to show all of the ajax script but heres the form part which is php:

<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.