ajax form problem with boxy

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ajax form problem with boxy

rey bumalay

i have a weird problem when using ajax form plugin and boxy at the
same time.

my method:

function submitEditImageDetailForm(form) {
        alert("before submitting form via ajax");
        $('#editImageDetailForm').ajaxSubmit(function() {
                showPopupDialogMessage("Image Detail Updated");
        });
        alert("after submitting form via ajax");
        return false;
}

successfully runs the first time boxy is loaded but after closing the
modal dialog (using the close link on the upper right side) and re
opening a new one, the ajaxSubmit doesnt seem to work but the messages
are still alerted.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply | Threaded
Open this post in threaded view
|

Re: ajax form problem with boxy

rey bumalay

i'm able to solve this. anyway to document it, enabling the
"unloadOnHide" option when creating a boxy dialog solves the problem

On Dec 28, 7:31 am, reyjexter <[hidden email]> wrote:

> i have a weird problem when using ajax form plugin and boxy at the
> same time.
>
> my method:
>
> function submitEditImageDetailForm(form) {
>         alert("before submitting form via ajax");
>         $('#editImageDetailForm').ajaxSubmit(function() {
>                 showPopupDialogMessage("Image Detail Updated");
>         });
>         alert("after submitting form via ajax");
>         return false;
>
> }
>
> successfully runs the first time boxy is loaded but after closing the
> modal dialog (using the close link on the upper right side) and re
> opening a new one, the ajaxSubmit doesnt seem to work but the messages
> are still alerted.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "jQuery Plugins" group.
To post to this group, send email to [hidden email]
To unsubscribe from this group, send email to [hidden email]
For more options, visit this group at http://groups.google.com/group/jquery-plugins?hl=en
-~----------~----~----~----~------~----~------~--~---