JQuery - Get Value Using a Selector

I'm trying to select the first link on a page after the page has completely loaded and redirect the page to the link on the first page.

I understand how to use a selector, but I'm stumped as to how I can pick up the first item after the page loads. I'm assuming once I have the value I could use

window.location = "http://www.google.com/"

To then take the user to proper page once I have the dynamic link's value.

5
задан Ryan 24 September 2010 в 19:58
поделиться