I\'m using this code to make an AJAX request:
$(\"#userBarSignup\").click(function(){
$.get(\"C:/xampp/htdocs/webname/resources/templates/signup.php\",
You need to actually run a webserver, and make the get request to a URI on that server, rather than making the get request to a file; e.g. change the line:
$.get("C:/xampp/htdocs/webname/resources/templates/signup.php",
to read something like:
$.get("http://localhost/resources/templates/signup.php",
and the initial request page needs to be made over http as well.