|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||
|
|||
|
redirecting problem
hi,
i created button in form <form> <INPUT type="button" value="OK" onClick="popupMsg('are you sure to save');" window.location.href="save.html";self.close();> </form> when i click this button a pop up message opnes up and when i click on OK then this window save.html is submitting on same page i want to locate in parent how clould i do that so that this save.html should submit to the very first form (xyz.html)where i started if anybody helps me i will be very grateful regards |
|
#2
|
||||
|
||||
|
RE: redirecting problem
I can't understand clearly what your problem is but I sense a mistake in your code:
|
|
#3
|
|||
|
|||
|
RE: RE: redirecting problem
hi, let say below script is saved as asd.html <script language="JavaScript"> function func() { popupMsg('are you sure to save'); window.location.href="save.html"; self.close(); } </script> if i use this window.location then this save.html submits in asd.html itself infact there is no sense of using this window.location as this window will be close once alert message is clicked OK so user will not be able to see this save.html i want him to see this save.html on another window(form) let say test.html,as this save.html is coming from asd.html i will be appreciate for ur response thanks |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Client Side Things > redirecting problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|