|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
submit problem
hi,
i got problem in submiting the page in same form like i have three forms test.html <script> function FSpeichEnt() { MeinFSpeicherEnt = window.open("speichern_01_index.html", "SENDENr", "menubar=no,left=450,top=450,width=200,height=100,t oolbars=no,scrollbars=no"); FSpeichEnt.focus(); //document.form.action="test.html" } </script> <form name=test> <TD height="52" nowrap width="169"> <DIV align="center" class="butt_links-gr07_ws_orange"><A href="javascript:FSpeichEnt()" target="_top" class="butt_links-gr07_ws"><B>SAVE</B></A></DIV> </TD> <form> when i click on image SAVE a window is opening with below form speichern_01_index.html in this form <script> function MM_popupMsg(msg) { alert(msg); } </script> <form> <INPUT type="button" name="Button_okay" value="OK" class="butt_links-gr07_ws_gruen" onClick="MM_popupMsg(R U sure to save');window.close()"> </form> 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 imean to say when click on Ok the page save2.html will submitted on test.html thanks |
|
#2
|
|||
|
|||
|
RE: submit problem
Ok, you won't be able to do what you want with your current setup. You cannot confirm the posting of a page by using another seperate page. What you need to do is a) either pass all the form variables to the new page, embed them in the html using 'hidden' inputs, then submit that form to the appropriate target when the user clicks 'OK' or b) simply put the 'user clicks ok' code in the original page and execute it when the users clicks Save the first time.
|
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > submit problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|