
Twitter Updates
- I feel love, I feel love, I feel love… boingboing.net/2012/05/17/don… #RIP 15 hours ago
- the bus is showing that movie where Sean Connery plays Russian Kenny Rogers 2 days ago
- New post: The Avengers' "Adopted" Joke romkey.com/?p=336 4 days ago
- If Apple really does sell a TV it'll be the worst kept secret in all of product history. 6 days ago
flickr/romkey




Categories
Tags
Ajax amazon ambient apple bat blogs brian eno computers dashboard david foster wallace deal Entertainment feed feedcache ie in memoriam internet explorer ios iphone ipod itunes jquery json leopard Life live+press livejournal mac macintosh macos x Music MySQL security sidebar simplify software taxes toilet TV UNIX uvfood web Wordpress world of warcraft writersMeta
Category Archives: Ajax
Getting Around Same-Origin Policy in Web Browsers
Web browsers enforce a security policy called “Same Origin Policy” in order to protect their users from attacks by malicious web sites. The “Same Origin” policy requires that any attempt by Javascript on a web page to access a web … Continue reading
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. Continue reading
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. Continue reading