Automatically close prettyphoto
  • Hi,
    I have form, which is opened in prettyphoto. After submiting this form, I want to close prettyphoto window automaticly.
    I have tried this:

    $("a[rel^=\'prettyPhoto\']").close();

    but nothing hapened

    Code before submint:
    ...

    Code after submit:
    ...

    $("a[rel^=\'prettyPhoto\']").close();


    But the window is still active.

    Thanks a lot in advance

    Petan
  • How did you open a form in PrettyPhoto?

Howdy, Stranger!

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