PDA

View Full Version : [other] IE 6.0 form in form doesn't work



Sycron
June 29th, 2009, 11:22 AM
I have something like this:

<form action="" method="post">
<form action="" method="post">
<input type="submit" name="1"/>
</form>
<input type="submit" name="2" />
</form>

In Firefox works ok but not in ie6(in ie6 works just de #1 button. The other button have no effect when clicking it).

Can you give me some workarounds? Thanks.

SunnyRabbiera
June 29th, 2009, 11:46 AM
Good example why IE sucks :p

Reiger
June 29th, 2009, 11:58 AM
Good example you shouldn't use: form in form is simply illegal in XHTML STRICT and HTML 4.01 STRICT.

Wim Sturkenboom
June 29th, 2009, 12:19 PM
Good example why IE sucks :pSorry but FF is the one that s.cks ;)

As Reiger said, see e.g. http://htmlhelp.com/reference/html40/forms/form.html