WebDev: jQuery, JSON, IE and Caching

When you bookmark a listing the icon changes from a heart with a plus sign to a heart with a minus sign, the count of the number of times the the listing was bookmarked is updated and a message is displayed that confirms the item was bookmarked. … The first thing I tried was to make sure that my server returned a header in the response to tell the client not to cache the results. … GET is meant to be idempotent, no ill effects if it’s repeated (a request to move to position 8 is idempotent; a request to move to the next position is not). … Just add this to your jQuery initialization code: $.postJSON = function(url, data, callback) { $.post(url, data, callback, “json”); Changing my code to use postJSON() instead of getJSON() solved the problem.

More

Offline jQuery Documentation for MacOS X

I don’t always have reliable online access when I’m coding – in particular, I was on a bus today for a couple of hours and didn’t always have Internet access. There are a couple of dashboard widgets for MacOS X which I found that helped out on the jQuery documentation front. … This widget is designed for browsing… click around in it, but don’t expect to search it. … This widget is designed for searching – if you know what you’re looking for, you can find it quickly.

More