Jump to content
12/12/2007
I have come to love the ‘context’ option in a jQuery selector, and usually prefer it in ‘.each’ functions:
$(’.geo .latitude’,hcard).text();
instead of
hcard.find(’.geo .latitude’).text();
Just a matter of taste.
Great article, BTW. I love the microformats+jquery+gmaps combination, it gives warm fuzzies…
Vote down?
12/12/2007
I have come to love the ‘context’ option in a jQuery selector, and usually prefer it in ‘.each’ functions:
$(’.geo .latitude’,hcard).text();
instead of
hcard.find(’.geo .latitude’).text();
Just a matter of taste.
Great article, BTW. I love the microformats+jquery+gmaps combination, it gives warm fuzzies…