javascript - How does youtube use ajax -


if go visit youtube video , click video ( e.g related video ) see page not entirely refreshing, main video , related videos change, rest of page remains is. wondering how that, if it's ajax why url updating? i've seen technique on other famous websites , wondering how works?!

you can change url without reloading page, if browser supports it.

combined ajax , see behavior seeing.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -