Dynamically setting form action?

Hi All,

I often use form.action or form.setAttribute("action",strURL) to set the action of a form using script based on user input.

I note that in IE7 this seems to be ignored. No error is generated and the form submits to the original URL.

Im using urls within the original domain so there shouldnt be any security issues

Am I using the wrong method to do this

I notice there are some options in the Security section arround scripting but (obviously) I will require a solution that works with default settings for production.

Thanks in advance

Todd


Answer this question

Dynamically setting form action?

  • Dynamically setting form action?