[jQuery] Re: jquery.validation and ajax

2007-05-23 Thread daweb
Thank you for reply. Now, the validation plugin run fine. The Ajax Call run too, because the record I intend to save, is in my DB correctly, but.. It returns this error: uncaught exception: [object Object] This is my complete js code, included in commenti.js (I also include jquery.js and jq

[jQuery] Re: jquery.validation and ajax

2007-05-22 Thread Jörn Zaefferer
daweb wrote: I've tried this solution, but nothing to do for me... umphf!! If you don't depend on ajaxForm and can use ajaxSubmit, I recommend to refer to the integration example here: http://jquery.bassistance.de/validate/demo-test/ajaxSubmit-intergration-demo.html I'll try to provide a

[jQuery] Re: jquery.validation and ajax

2007-05-22 Thread daweb
I've tried this solution, but nothing to do for me... umphf!! $().ready(function() { // validate signup form on keyup and submit $('#form_inserisci_commento').ajaxForm({ beforeSubmit: function() {$("#form_inserisci_commento").validate({ event: "keyup", rules: {

[jQuery] Re: jquery.validation and ajax

2007-05-22 Thread Richard Worth
On 5/22/07, daweb <[EMAIL PROTECTED]> wrote: ... $('#successDiv').fadeIn('slow'); } }), $("#form_inserisci_commento").validate({ ... I don't know if this is the problem, but the first thing that jumps out to me is the comma ( , ) above should be a semi-colon ( ; ). - R