...

View Full Version : Form



Ndogg
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">
<br><br>
1. Who was the Scranton Branch Manager? <input type="text" name="MichaelScott01" />
<br>
2. What is Dwight's job title? <input type="text" name="Dwight01" />
<br>
<input type="submit" />
</form>


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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum