[jQuery] Re: Comparing two textboxes

2008-09-12 Thread Littletower
Mdp").val(), edtCMdp: $ > ("#edtCMdp").val()}, ... > do this: > $.post("checkpasse.php",{ edtMdp: function() { return $ > ("#edtMdp").val() }, edtCMdp: function() { return $ > ("#edtCMdp").val() }} , > > On 10 Sep., 01:31, Littletow

[jQuery] Comparing two textboxes

2008-09-09 Thread Littletower
Hi, I wrote a script to verify if two text boxes have the same value/text. checkpasse.php just verifies if the text box edtMdp($_POST['edtMdp']) equals edtCMdp ($_POST['edtCMdp']), if they do: echo "yes", if the don't echo "no" so if the result of checkpasse.php is, for example, "no" (datamdp=='no