Changing form action in IE

wxdqz

New Member
I've got a form with two submit buttons and if one of them is clicked it should change the action of the form. For some stupid reason the code below isn't working.

<input type="submit" name="send" value=http://www.webdeveloper.com/forum/archive/index.php/"send"
onClick="javascript: document.forms[0].action='sender.php'">

IE complains that there is no such property or method called action for the form object. If i put "forms[0].ACTION=...." it dowsn't give an error but doesn't change the action at all. I've read that IE didn't support the changing of action in IE v3 put i'm using v6. Please help!!
 
Back
Top