JavaScript

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/