M
MZ
Hello!
Is it possible to change URL form action on submit form...
I have tried such code:
<script language="JavaScript" type="text/javascript">
function changeURL()
{
document.location='http://www.XXX.com/'+'?dzial='+docu...al='+document.getElementById('pdzial').value;}</script><form name="formularz" id="formularz" method="post"action="http://www.XXX.com/" onKeyUp="sprawdzajForm_spec();"> Dept:<input name="dzial" id="dzial" size="10" maxlength="9" type="text"value="11"> Subdept:<input name="pdzial" id="pdzial" size="10" maxlength="9"type="text" value="b"> <input id='sendOgl' style="display:none;" type="button"onclick="changeURL();wyslij();" value="Wyslij ogloszenie" class="wyslijOgl"></form>but it doesn`t work well and it didn`t change my URL form action .Thank you in advance for any commentsKindest regardsM.
Is it possible to change URL form action on submit form...
I have tried such code:
<script language="JavaScript" type="text/javascript">
function changeURL()
{
document.location='http://www.XXX.com/'+'?dzial='+docu...al='+document.getElementById('pdzial').value;}</script><form name="formularz" id="formularz" method="post"action="http://www.XXX.com/" onKeyUp="sprawdzajForm_spec();"> Dept:<input name="dzial" id="dzial" size="10" maxlength="9" type="text"value="11"> Subdept:<input name="pdzial" id="pdzial" size="10" maxlength="9"type="text" value="b"> <input id='sendOgl' style="display:none;" type="button"onclick="changeURL();wyslij();" value="Wyslij ogloszenie" class="wyslijOgl"></form>but it doesn`t work well and it didn`t change my URL form action .Thank you in advance for any commentsKindest regardsM.