View Full Version : Dynamic Page questions

08-21-2010, 09:39 PM
Hi all,

So i just learning JS and i have a couple questions on where and how i should get started.

I have a site, on this site i have a small side menu. I have 7 other divs setup. Each of these divs holds content, text, images, links, etc for a specific item. Now i have done some php and the page loads semi-dynamicly, the page has to refresh every time a menu button is selected. What i want to do is learn how to use java-script so the page does not have to reload. I already have all the other html pages setup with the desired content, i just need to get javascript to get that info and change it on the page.

Does that sound like something that can be done?


08-22-2010, 05:10 AM
The method to load external content without reloading the page is called Ajax. Lots of info should be available with a search for that and there are several scripts here for it also. However, remember to always to have a non-javascript backup so that you don't lose visitors who can't/don't see Ajax content.