How to get word variables[CODE]
this is the current code
I'm using numOranges becuase I am borrowing from the lifehacker tutorial to try and get an idea of what im doing. Basically what I want to happen is when you type hi into the submission box and hit submit, the alert "hai" will come up, but I can't seem to accomplish this. Help please?
if (numOranges == hi)
<h3> How many Oranges did you eat? </h3>
<form method="POST" name="orangesform"
<input type="text" name="numOranges" id=numOranges />
<input type="Submit" name="Submit" />