Hrm, I'm having the same problem. Anybody have any ideas?

On Oct 23, 6:34 am, Sebastian <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> I'm working with the "jQueryFormPlugin" and I'm having some trouble
> with it.
> In my HTML I have a button, which, when clicked, inserts aformvia
> jQuery. To then register theform'ssubmitevent, I use the
> "livequery"pluginin my "(document).ready" function:
>
> (document).ready(function($) {
>   var options = {
>         target:         '#editable_content',   // target element(s) to
> be updated with server response
>         success:       function(responseText, statusText)
> { alert(responseText); },  //post-submitcallback
>     };
>   $('.edit_contact').livequery('submit', function() {
>         $(this).ajaxSubmit(options);
>         return false;
>       });
>
> });
>
> Theformsubmits as it should, using an AJAX call. When I add a
> beforeSubmit callback function to the options array, that gets called
> as well, as it should. Only the success callback (the alert) isn't
> called and I don't know why.
>
> Can anyone help???
>
> Regards,
>
> Sebastian

Reply via email to