On Dec 8, 4:17 am, lennon1980 <[email protected]> wrote: > Cheers..thats pretty cool. One more thing actually..I need the element to > be a div..how do I add this to the selector
This might do it:
var item = $("#feature").prevAll("div[class]:first");
Cheers,
-- Scott

