javascript to set document.form.action broken in FF31

Discuss how to use and promote Web standards with the Mozilla Gecko engine.
Post Reply
matt_firefox
Posts: 1
Joined: August 4th, 2014, 11:38 am

javascript to set document.form.action broken in FF31

Post by matt_firefox »

The javascript used to set a form's action seems to be broken, e.g.

document.getElementById('myform').action = 'submit.php'

I searched around and it seems like this was also temporarily broken in previous versions as well.

Anything I can do to help get this fixed? It's affecting users of our site.

Thanks.
User avatar
Frenzie
Posts: 2135
Joined: May 5th, 2004, 10:40 am
Location: Belgium
Contact:

Re: javascript to set document.form.action broken in FF31

Post by Frenzie »

Maybe document.getElementById('myform').setAttribute('action', 'submit.php')? A testcase always helps. :)
Intelligent alien life does exist, otherwise they would have contacted us.
Post Reply