jqModal does have a callback for that, but it gets pretty ugly if you're
using the same modal window for different forms. Then you have to
re-configure the jqModal settings on each modal request.
What I've done is use a combination of the ajaxForm plugin and LiveQuery to
"listen" for modal forms when they are requested. When the modal form
enters the dom, LiveQuery binds the ajaxForm so that the form is handled
when it is submitted. Then you just close the modal and you're done. That
way you're not trying to handle everything through the modal callbacks.
-- Josh
----- Original Message -----
From: "GasGiant" <[EMAIL PROTECTED]>
To: "jQuery (English)" <jquery-en@googlegroups.com>
Sent: Thursday, September 18, 2008 10:49 AM
Subject: [jQuery] Re: Best JQuery pop-up plugin.
Do any of them have a callback type of function for what to do on
close? I'd like to use a modal form that updates the Ajax in the
opener, but only when the modal get's closed.
On Sep 18, 1:43 pm, MorningZ <[EMAIL PROTECTED]> wrote:
I've had great luck/usage with jqModal
(http://dev.iceburg.net/jquery/jqModal/)
very configurable and easy to setup