NB: This page uses some "document.write" statements to print JS variables, please allow the blocked content for it to operate properly!

The two forms below both use dojo.io.FormBind to submit through Dojo.
The response handler simply uses alert() to signal that the rsponse was received.
The purpose of this test is to verify that form submission behavior is consistent between IE and Firefox. Notably, that the problem reported in tracker #2844 is fixed.


Here is a good form:

Here is a bad (from IE's handling of attributes such as action and method) form:



Below you can see the various ways to try to get the form's action and their results for each form.
Load this page on FF and on IE and verify the form submission works properly.


form.action
This will return an input element named 'action' on both browsers.
testform_good.action: https://download.dojotoolkit.org/release-0.4.4/dojo-0.4.4-src/tests/io/test_FormBind.html
testform_bad.action: [object HTMLInputElement]

form.getAttribute( 'action' )
This will return an input element named 'action' on IE, but the form action on FF.
testform_good.getAttribute( 'action' ): test_FormBind.html
testform_bad.getAttribute( 'action' ): test_FormBind.html

form.getAttributeNode( 'action' ).value
This will return the form action on both browsers.
testform_good.getAttributeNode( 'action' ).value: test_FormBind.html
testform_bad.getAttributeNode( 'action' ).value: test_FormBind.html