My code looks like this:
Link 1 <
I came looking for a one-liner. Here's what I came up with:
var hs=[]; $('a').each(function(i,a){hs.push(a.href);}); hs;