Welcome Guest, Not a member yet? Register   Sign In
Browser issue with form submit
#9

[eluser]darkhouse[/eluser]
What happens is when you put something between <table> and <tr> (or anywhere you're not supposed to put elements) it actually renders before the table, so your code was actually being interpreted like this

Code:
&lt;form&gt;&lt;/form>
<table>
<tr>...</tr>
<tr><td>&lt;input type="submit" /&gt;&lt;/td></tr>
</table>

So you see, your inputs were not actually in the form, and therefore the submit button did not know what to submit. It's actually the fact that IE and other browsers are so loose that they will still function if you use malformed html markup, and that throws people off. People often don't pay attention to html standards or valid markup, and it's the root of a lot of problems.

So, like I said, pay careful attention to your html structure, follow the standards, they're there for a reason. And make use of the validator, it's your friend.

Happy Coding.


Messages In This Thread
Browser issue with form submit - by El Forum - 01-28-2009, 12:35 AM
Browser issue with form submit - by El Forum - 01-28-2009, 12:55 AM
Browser issue with form submit - by El Forum - 01-28-2009, 01:18 AM
Browser issue with form submit - by El Forum - 01-28-2009, 01:24 AM
Browser issue with form submit - by El Forum - 01-28-2009, 01:29 AM
Browser issue with form submit - by El Forum - 01-28-2009, 01:37 AM
Browser issue with form submit - by El Forum - 01-28-2009, 02:10 AM
Browser issue with form submit - by El Forum - 01-28-2009, 04:55 AM
Browser issue with form submit - by El Forum - 01-28-2009, 07:01 AM
Browser issue with form submit - by El Forum - 01-28-2009, 11:05 PM
Browser issue with form submit - by El Forum - 01-29-2009, 08:19 AM
Browser issue with form submit - by El Forum - 01-29-2009, 12:19 PM
Browser issue with form submit - by El Forum - 01-29-2009, 10:47 PM
Browser issue with form submit - by El Forum - 01-29-2009, 11:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB