This project is archived and is in readonly mode.

#874 ✓duplicate
Oskar Krawczyk

send() method will fail on IE8 when there's a input with the name "action"

Reported by Oskar Krawczyk | March 24th, 2010 @ 02:16 PM | in 1.3.0 rc2 (closed)


Submitting the form will cause an error on line 4115 in -core. This is because of this:

< input id="email" type="text" name="action" value="" / >

Found out the hard way ...

Comments and changes to this ticket

  • gonchuki

    gonchuki March 25th, 2010 @ 04:23 PM

    This is a known bug on IE, and duplicate of a bunch of invalids on -core lighthouse.

    The root of this issue is in how IE handles forms, as it extends the form element with the names of the elements it contains, thus form.action points to an input element instead of the action attribute in the form tag. Same happens when you extend the element, so for example you can't have a form element named "send", as form.send would point to the element instead of the mootools function.

  • Fábio M. Costa

    Fábio M. Costa March 25th, 2010 @ 10:37 PM

    yeah its known, the fix is that the action attribute should be get using getAttributeNode('action').nodeValue.

  • fakedarren

    fakedarren March 28th, 2010 @ 03:51 PM

    • State changed from “new” to “open”
    • Milestone set to 2.0

    So...will mark this as open. It is one of the more (in)famous IE issues, but something we could resolve, without too much of a performance deficit?

  • Fábio M. Costa

    Fábio M. Costa April 5th, 2010 @ 02:11 AM

    • Milestone changed from 2.0 to 1.3.0 rc2
    • State changed from “open” to “duplicate”

    this is pointed out at the #747 ticket, theres a fix there too.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins