Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
-5
rated 0 times [  1] [ 6]  / answers: 1 / hits: 22791  / 10 Years ago, sat, march 8, 2014, 12:00:00

I am at my wit's end and I'm hoping someone can help.



I have been trying to get AJAX to work on a local server, but I don't know where to begin even with the most basic code. I have downloaded node.js and XAMPP and I have been looking online for tutorials on how to get even AJAX test sites to work.



If anybody knows of a step-by-step tutorial on how to get the most basic AJAX functions to work on node.js or XAMPP I would appreciate it so much. Everything I've found seems to assume the person reading already knows how to begin working with a local server to make the code work. I know what code I need to write from all the examples, I just don't know how to get it to work on XAMPP or node.js! Thank you.


More From » jquery

 Answers
31

is XAMPP working? can you access it via http://localhost?



AJAX is just javascript that can send requests without reloading the entire page. it doesn't need anything special to work.



however its important that localhost is working and keep note if you need to add a port to the end of the url to get it to work.



then add your html/php file into the htdocs folder of XAMPP and navigate to it using the localhost url.


[#72089] Thursday, March 6, 2014, 10 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tobyl

Total Points: 598
Total Questions: 110
Total Answers: 114

Location: Vietnam
Member since Sat, Feb 12, 2022
2 Years ago
tobyl questions
Tue, Aug 10, 21, 00:00, 3 Years ago
Wed, Jan 13, 21, 00:00, 3 Years ago
Tue, Dec 1, 20, 00:00, 4 Years ago
;