J
johnemmatty
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:location, 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=<%=thisPage%>>
:
:
:
</FORM>
<button onClick ="javascript:location='<%=goBackToURL%>'";id=button1
name=button1> OK </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:location, 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=<%=thisPage%>>
:
:
:
</FORM>
<button onClick ="javascript:location='<%=goBackToURL%>'";id=button1
name=button1> OK </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.