Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jonpeter

macrumors member
Original poster
Sep 19, 2013
42
0
MI
Given any website. When you click on a button and then a new div appears with new information without requiring the browser to refresh the page?

Also how would I enact this feature in HTML/CSS or JavaScript?

Also, Happy Early Thanksgiving!
 
Given any website. When you click on a button and then a new div appears with new information without requiring the browser to refresh the page?

Also how would I enact this feature in HTML/CSS or JavaScript?

Also, Happy Early Thanksgiving!

If the "new information" you are referring to is not in the source code of the page that has already been loaded, then it is being done via AJAX. Asynchronous JavaScript and XML.

This info on the W3C's site should be good to get you started with AJAX.

http://www.w3schools.com/php/php_ajax_intro.asp
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.