Results 1 to 3 of 3

Thread: Ajax Interstitial Content Box

  1. #1
    Join Date
    Apr 2008
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax Interstitial Content Box

    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.

    Thanks,
    Sridhar

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Warning: Please include a link to the DD script in question in your post, in this case: http://www.dynamicdrive.com/dynamici...terstitial.htm. See this thread for the proper posting format when asking a question.

    Well, you'd call the function:

    Code:
    interstitialBox.closeit()
    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:

    Code:
    <form onSubmit="interstitialBox.closeit()">
    "
    "
    </form>

  3. #3
    Join Date
    Nov 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Reference the script: http://www.dynamicdrive.com/dynamici...terstitial.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.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •