I am using an asp page in which i dynamically fill the ACTION property
of the form. The problem is that whenever i try to redirect to a html
page using the javascript:loca tion, it is getting redirected to the
location in the ACTION attribute of the form element despite what is
assigned to the location attribute of the javascript.
<FORM NAME="CRYSTFORM " METHOD=POST ACTION=<%=thisP age%>>
:
:
:
</FORM>
<button onClick ="javascript:lo cation='<%=goBa ckToURL%>'";id= button1
name=button1OK </button>
I am using div tags in middle of the form to control the visibility of
certain visual elements.
Any help would be greatly appreciated.
Thanks in advance,
John.
of the form. The problem is that whenever i try to redirect to a html
page using the javascript:loca tion, it is getting redirected to the
location in the ACTION attribute of the form element despite what is
assigned to the location attribute of the javascript.
<FORM NAME="CRYSTFORM " METHOD=POST ACTION=<%=thisP age%>>
:
:
:
</FORM>
<button onClick ="javascript:lo cation='<%=goBa ckToURL%>'";id= button1
name=button1OK </button>
I am using div tags in middle of the form to control the visibility of
certain visual elements.
Any help would be greatly appreciated.
Thanks in advance,
John.
Comment