Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

form action property not supported in IE

Status
Not open for further replies.

Shaggs

Programmer
Aug 26, 2003
25
AU
i have a form which based on the object that is clicked would like to change the form's action and target properties.

This works fine in Mozilla and Opera but IE (ver 6.0) throws an error stating it doesn't support this property or method. Any pointers or anyone else had this problem?
 
it must work...

Known is handfull, Unknown is worldfull
 
In your script, you should only need to call a function to change these items.

document.forms(0).action = 'newAction';
document.forms(0).target = 'newTarget';
document.forms(0).submit();
 
gizzy u have to use [] and not ()...

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top