Hi ,
In short:
How to change the form action attribute value using javascript and that need to supported in IE also ?
BRIEF:
I am using ajax function to submit the form.
I am also changing the action of the form tdynamically using java script.Its is working fine in FF.But i am getting the ERROR as "object doesn't support this property or method" in IE
I found that Error is occured in this line
document.forms. FORMNAME.action = "hhtp://www.google.com"
This is used to change the action url of my form.
I have this few other options like
document.FORMNA ME.action ,
document.getEle mentById('FORMN AME').action.va lue .
But nothing working in IE.
Please help me.
In short:
How to change the form action attribute value using javascript and that need to supported in IE also ?
BRIEF:
I am using ajax function to submit the form.
I am also changing the action of the form tdynamically using java script.Its is working fine in FF.But i am getting the ERROR as "object doesn't support this property or method" in IE
I found that Error is occured in this line
document.forms. FORMNAME.action = "hhtp://www.google.com"
This is used to change the action url of my form.
I have this few other options like
document.FORMNA ME.action ,
document.getEle mentById('FORMN AME').action.va lue .
But nothing working in IE.
Please help me.
Comment