Close window on update
I hae a small form in a popup (behavior-open browser window). I want to just close the window when the update button is clicked!
How?
Thanks
Nick
I hae a small form in a popup (behavior-open browser window). I want to just close the window when the update button is clicked!
How?
Thanks
Nick
You would need to do this via JavaScript, this link should help
THank you, I had that script but can I apply this to a submit button? If so how? setting the re-direct opens the next page in the pop up. Can I set "parent" as a target with a submit/update button?
you can set target as part of the form properties
Back to this problem. I have a WA update form in a iframe, the redirect is set in the wizard and does not offer a target as an option for teh redirectURL. I tried adding:
// WA Application Builder Update....
$WA_redirectURL = "http://xyz.com/123_pay.php target"parent"";
but it fails. So What I need to do is to click the update button aqnd have the redirect open in a new page.
Thanks
try adding this code to the page contained in the iframe
<script type="text/javascript">
<!--
if (top.location!= self.location) {
top.location = '<?php echo $WA_redirectURL; ?>';
}
//-->
</script>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.