I\'m using this code to make an AJAX request:
$(\"#userBarSignup\").click(function(){ $.get(\"C:/xampp/htdocs/webname/resources/templates/signup.php\",
You can also start a server without python using php interpreter.
E.g:
cd /your/path/to/website/root php -S localhost:8000
This can be useful if you want an alternative to npm, as php utility comes preinstalled on some OS' (including Mac).