I posted example code:
http://paste.mootools.net/m3c8fb3ce

and live demo of behavior:
http://commonquill.org/


I might be misunderstanding how this is supposed to work, but
everything I see says $('option) should refer to the element with the
ID="option"

In IE, it will accept an item with name="option" if it is the only
item in the document, or if it comes before an element with ID =
"option"

If Firefox, id="option"  is always accepted as the value  irregardless
of the order.  If there is nothing with a id=, nothing is returned.

That's all the tech info I have on the behavior.  In practical terms,
this affected my development of a Joomla component where IE wasn't
returning an appropriate ajax response (it was returning a different
component).  The current or intended component is set consistently by
using $option in Joomla.  So one with a name overrided mine with an
id.  The more interesting one, was that I was submitting a text field
named keywords for a search function.  This was overriden in IE by
<meta name="keywords"   and returning undefined for $('keywords').value

Reply via email to