It's because your <button> is inside the form, and FF and Chrome have the button behave as <input type=submit>. Move the button outside the form and it works the same in all three browsers.
Name:
Anonymous2009-09-15 0:14
Well now I don't know if I should hate IE for its lenient parsing or not.
Note that if you use <button name="whatever" type="button">, Firefox does not submit the form, and behaves just like IE. I don't know why IE would take the default type to be "button"...do the IE devs just make shit up as they go along?
This means that directives like max-age, versioned cookies, etc, are not supported in any version of Internet Explorer.
Cool support, bro.
It’s worth mentioning that increased cookie limit actually broke the website of a major financial institution. The site depended on cookies beyond the 20 cookie limit getting dropped, and stopped working properly when the limit was increased.
Cool site, bro.
Name:
Anonymous2009-09-15 14:01
By the way, document.form.element.value is not the right way to access an element. You should use DOM instead. name attribute on form HTML elements is deprecated and not allowed on XHTML Strict, but still used on form elements as it's the "variable name" passed on POST/GET.
Sometimes I wish I was a programmer, so I could actually understand this thread. :(
______
If you believe in Jesus Christ and are 100% proud of it put this as your signature.