Thread: Jquery Help
View Single Post
07-04-2008, 04:06 AM
#7
Garrett is offline Garrett
Status: Waving
Join date: Aug 2005
Location:
Expertise:
Software:
 
Posts: 2,694
iTrader: 11 / 100%
 

Garrett is on a distinguished road

Send a message via MSN to Garrett

  Old

There is also this selector:

var el = $('#slider .navigation').find('a[href$="' + data.id + '"]').get(0);

I am sure if you do:

var el = $('.navigation').find('a[href$="' + data.id + '"]').get(0);

It will find anything with the class of navigation and do it.