Simon Willison’s Weblog

Subscribe

Items tagged webdevelopment, jquery in 2012

Filters: Year: 2012 × webdevelopment × jquery × Sorted by date


How do you change page content and URL without reloading the whole page?

This can only be done using JavaScript. You use XMLHttpRequest to pull in new information from the server (also known as Ajax—most people use a JavaScript library such as jQuery to handle this) and then use the HTML5 history API, in particular the pushState method, to update the URL.

[... 133 words]

Types

Years

Months

Tags