[jQuery] Re: jQValidation with jQForm, it is possible?
SOLVED The correct code: $("#myForm").validate({ submitHandler: function(form) { $(form).ajaxSubmit(function(){ alert("Correct"); }); } }); I don't understand why the funtion ajaxForm don't work and ajaxSubmit yes, but... the script works!! xD thanks On 25 jun, 16:08, Harlok <[EMAIL PROTECTED]> wrote: > Hi, I need validate a form (i use jquery validatin), with this no > problem, but the idea was be send all data using jquery form, but I > can't do work all at the time... my idea is... > > $("#myform").validate(); > $('#myForm').ajaxForm(function() { > alert("Correct"); > }); > > this code don't work, exist any way for do this? any example? thanks
[jQuery] jQValidation with jQForm, it is possible?
Hi, I need validate a form (i use jquery validatin), with this no problem, but the idea was be send all data using jquery form, but I can't do work all at the time... my idea is... $("#myform").validate(); $('#myForm').ajaxForm(function() { alert("Correct"); }); this code don't work, exist any way for do this? any example? thanks
[jQuery] What is the best way to send data betwen JS -> PHP
Hi, I use POST for send all data to a PHP scrip, for ex: data:"script.php?id="+id+"&text="+text, but sometimes text contains \& or another strange char and I think that is not the better way for send data. ¿what is the best way? PHP -> JS I use json, but for JS->PHP? Thanks