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

java - unable show chart in xls document using jasper reports -

java.lang.RuntimeException: Could not generate dummy secret at sun.security.ssl.RSAClientKeyExchange.<init> -

javascript - How to change image src on success AJAX -