Change page without updating div on page

Hi, I am looking for a tutorial to understand how I can create a page with a div that does not refresh when the page URL changes.

Ex. Facebook chat does not update when I go from URL to another.

thank

+5
source share
3 answers

AJAX is definitely used, although it may not seem like that because the actual URL is changing. Most AJAX applications simply change the hash of the URL (somesite.com/page/#feature1).

, Facebook, , , HTML5 history.pushState(), URL-, , , . , @Felix .

, :

, ?

AJAX. jQuery , . , :

http://net.tutsplus.com/tutorials/javascript-ajax/5-ways-to-make-ajax-calls-with-jquery/

+1

, AJAX (javascripts XMLHttpRequest). , :

0

It is called AJAX, if you use jQuery, here is a good tutorial:

http://yensdesign.com/2008/11/creating-ajax-websites-based-on-anchor-navigation/

I wanted to post other examples if you are not using jQuery, but I need more points to post some links, sorry ...

0
source

All Articles