Hello,

i have no clue why it is like this, but in the following code, the
"errors" variable doesnt count +1:

$.get("functions/checkforms.php",{doesuserexist: loginusername,
doespasswordexist: loginpassword}, function(data){
     if (data) {
      $("#loginpassword_error").show().append(data);
      errors++;
     }
    });


Do you know how i can check if "data" exist, to set "errors" +1?

Regards,
Shade

Reply via email to