submit problem

liunx

Guest
hi,<br />
<br />
i got problem in submiting the page in same form like i have three forms <br />
test.html<br />
<script><br />
function FSpeichEnt() {<br />
MeinFSpeicherEnt =<br />
window.open("speichern_01_index.htm", "SENDENr", "menubar=no,left=450,top=450,width=200,height=100,toolbars=no,scrollbars=no");<br />
FSpeichEnt.focus();<br />
//document.form.action="test.html"<br />
}<br />
</script><br />
<form name=test><br />
<TD height="52" nowrap width="169"> <br />
<DIV align="center" class="butt_links-gr07_ws_orange"><A href=http://www.webdeveloper.com/forum/archive/index.php/"javascript:FSpeichEnt()" target="_top" class="butt_links-gr07_ws"><B>SAVE</B></A></DIV><br />
</TD><br />
<form><br />
<br />
when i click on image SAVE a window is opening with below form<br />
speichern_01_index.html in this form<br />
<script><br />
function MM_popupMsg(msg) { <br />
alert(msg);<br />
}<br />
</script><br />
<form><br />
<INPUT type="button" name="Button_okay" value="OK" class="butt_links-gr07_ws_gruen" onClick="MM_popupMsg(R U sure to save');window.close()"><br />
</form><br />
when i click on this button this will pop up one window and when i clcik on OK the window is closed that ok but i want when i click on OK another form name=save2.html will open in same browser where test form is located<br />
<br />
imean to say when click on Ok the page save2.html will submitted on test.html<br />
<br />
thanks<!--content-->if I understand your question correctly then here is what you need to do.<br />
replace the line below<br />
onClick="MM_popupMsg(R U sure to save');window.close()"><br />
<br />
with this line of code<br />
<br />
onClick="MM_popupMsg('R U sure to save');window.location.href='http://www.webdeveloper.com/forum/archive/index.php/save2.html'"><!--content-->thanks but this save.html must submit to test.html not to second form speichern_01_index.html as this html will close first then submit sav.html tot test.html<br />
<br />
hope thsi si clear for u<!--content-->
 
Back
Top