MX AJAX Toolbox Forum :: how to close ajax dialog box

This thread was displayed: 0 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
seco ali
08-09-2008 11:16:41 GMT +2

Hi

i put ajax dialog box in my page and when i click the close image at the top it closed 

i want to put a button on the page that act the same coding (i want to close the dialog box when click the button) how?


thanks in advance.


Back | Reply | Quote | Top
Ben Pleysier
12-10-2008 08:57:23 GMT +2

Put this script in <.head>

<script type="text/javascript">
    function closeDialog() {
        Widgets.Dialog.current.hideBox();
    }
</script>
 

Then in <body>

<button me</button

Reply | Quote | Top
MX AJAX Toolbox 1.0.0
© Adobe Systems Romania. All rights reserved.