Hello, I have one more question about this, I want to know if could override the default remote function creating another function that calls a $.ajax with method POST and has effects fadeIn() and fadeOut() when validating a INPUT.
For example: remote: function(value, element, param) { $.ajax({ type: "POST", url: "/sys/check- email.php", dataType: "json", data: "email=" + $ ("#EMAIL").val(), beforeSend: function() { $("#load- email").fadeIn(); }, success: function(result) { $("#load- email").fadeOut(); return result; } ); But this function is not working how I expect. The effects works properly but I can still submit the form if the e-mail is not valid. Any suggestions is welcome. Thanks, Lino On 21 ago, 15:19, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Yes, seehttp://docs.jquery.com/Plugins/Validation/Methods/remote#url > > Jörn > > > > On Thu, Aug 21, 2008 at 6:48 PM, shapper <[EMAIL PROTECTED]> wrote: > > > Hello, > > > Can I validate a input using a remote function on my server side code? > > > I could return a JSon from my server side code with "True" or > > "False" ... > > > Could someone tell me how should I do this? > > > Thanks, > > Miguel- Ocultar texto entre aspas - > > - Mostrar texto entre aspas -