Jump to content

My form won't work in IE!


eugeniu

Recommended Posts

I've tried both IE6 and IE7, but my form doesn't work for either when I try using the Enter key on the keyboard. But it works just fine on FireFox and Safari. On IE it just displays a welcome message instead of "Correct" or "Incorrect". My form is at http://kanaquest.com. Click on "KanaWords" to get there.

Link to comment
https://forums.phpfreaks.com/topic/115749-my-form-wont-work-in-ie/
Share on other sites

Why not...

I was assuming this was a client-side problem though. Maybe I should have posted this in HTML help.

 

/////////////////////////
//        FORM         //
/////////////////////////


echo "<img src=\"cache/$phpImageNumber.png\"><br>
<form id=\"quiz\" action=\"words.php\" method=\"post\" style=\"display:inline;\" onsubmit=\"return __pra()\">
<input type=\"text\" name=\"answer\" size=\"8\" maxlength=\"30\">
<input type=\"submit\" name=\"submit\" value=\">>\">
</form>

<br><font size=\"1\">
<font color=\"#ad0008\"><b>~" . $_SESSION['numbercorrect'] . " out of " . $_SESSION['numbertotal'] . " correct~</b></font>
<br><a href=\"http://kanaquest.com/main.php\">Home</a> | <a href=\"instructions.php\">Instructions</a>";

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.