Close form on submit
  • Hi all,
    I love prettyPhoto, and it's working fine. We have a video on one side, and a small contact form on the other. It's hosted on a asp.net website and is used to let people send comments on the videos. When they comment, and click "submit" the information is posted to a form handler we have elsewhere which puts their information into a database, and redirects them to the "thanks" page.

    The challenge:

    After clicking submit, the get redirected, in prettyPhoto!. I need to "close" that when the submit button has been clicked. That way when they're redirected it should be from the parent window on the website.

    I've tried "window.close" in an onclick event for the button, but it doesn't work. I wonder if any of the experts on here might have an idea?

    thanks in advance
    Dave

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!