View Full Version : Ajax Interstitial Content Box

04-29-2008, 12:15 PM
I have a page with submit button, which is loaded using Ajax Interstitial Content Box. I need to close the page on click of Submit button.
I have tried with all the options, but I am not able to close the page unless if I have clicked on the close button of Interstitial Content Box.

My requirement is to close the page on submit of the page and I need to refresh the parent page. Pls help me on this if anybody had the solution.


04-30-2008, 07:15 AM
Warning: Please include a link to the DD script in question in your post, in this case: http://www.dynamicdrive.com/dynamicindex17/interstitial.htm. See this thread (http://www.dynamicdrive.com/forums/showthread.php?t=6) for the proper posting format when asking a question.

Well, you'd call the function:


to close the Interstitial box. In your case, you can try attaching it to the onSubmit event handler of your FORM being shown inside the box:

<form onSubmit="interstitialBox.closeit()">

11-19-2008, 01:25 PM
Reference the script: http://www.dynamicdrive.com/dynamicindex17/interstitial.htm

how can i load a form via this script on click of a button? Its an ASP form which saves values in DB. And also how do i close it to return to original page where I clicked the button. Many thanks for your help.