The Web Developer's Blog has been discontinued. I am now maintaining a new blog that is related to my company, Blue Piccadilly. The most popular articles from this blog (by monthly page views) have already been republished on the new blog, and indeed those original pages on this blog are being redirected to their new location. I'll probably keep these pages up here for a while. At least until the domain expires.

JavaScript

Nov14

jQuery Fundamentals - A completely free book for learning jQuery

14-Nov-2010
Filed under: JavaScript, jQuery

If you've been trying to learn (or learn more about) jQuery, and you don't know about Rebecca Murphey's excellent Creative Commons licenced book jQuery Fundamentals, you're missing out.

Jun30

How to find latitude and longitude coordinates for a Google Maps location

30-Jun-2008
Filed under: JavaScript

Lifehacker came to my rescue this afternoon, showing me a dead easy way to find the latitude and longitude coordinates for any Google Maps location.

Read How to find latitude and longitude.

Dec06

Default text field value that disappears on focus

06-Dec-2007
Filed under: JavaScript, jQuery

See the search form top right? Click the search box. See how the default text disappears and then reappears when you click away from the search box? Here's how you do it.

The script below searches the page that it's inserted on for all form input fields that have a class of default-value applied. Each form input field must have a unique ID.

Oct04

A nice collection of jQuery essentials

04-Oct-2007
Filed under: JavaScript, jQuery

Here's a site I came across that lists a nice collection of plugins for use with jQuery.

http://www.phpfour.com/blog/2007/06/30/jquery-essentials/