|
For security reasons the URL must be fully qualified. I put the page in the same directory and did this:
url = 'checkUserName.php?q=' + input;
I am also curios about the response == 1 not working. I have always found JavaScript to be rather lax when it comes to data types and dont understand why it is picky here. If anyone can explain it would be appreciated.
|