Simon Willison’s Weblog

Subscribe

Items tagged jquery in 2012

Filters: Year: 2012 × jquery × Sorted by date


Why is learning JavaScript better than just learning jQuery?

jQuery is a JavaScript library. When you write code using jQuery you are programming in JavaScript. This line:

[... 141 words]

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