I am currently implementing a registration form and doing the username availability checking using jquery and php.
In this case where the user_availability.php
is in same folder as the registration from, it is easy to specify like the following to retrieve the function in the page.
$.post("user_availability.php",{ user_name:$(this).val() } ,function(data)
But what if my user_availability.php
page is in the model folder? What should the URL be?