[eluser]n0xie[/eluser]
Quote:but I am using direct URL. There has nothing response from CI return.
Could you help? Appreciate if you can help me solve it.
You are not really helping yourself or us.
What happens when you go to the url directly?
Does it return a 404? Does it return an error? Do you get a blank page? Does your computer suddenly turn into a transformer and eat your lunch?
Your ajax requests gets a 404 which means it can't find the controller/method you are trying to access. It would be common sense to first make sure that your request gets handled properly...
So again, go to :
Code:
http://localhost:80/accounts/check_user_availability?username=rrrfdgdf
and try to figure out what's wrong before even starting to debug your javascript. It could be as simple as a misconfigured httpd.ini (would have been handy to mention you were using IIS). It could be as simple as adding index.php to the url. But since my crystal ball is broken I can't really say for certain.