Hi Caires, something like that but it should continue up the parent until it finds it or return null
peter On Wed, May 27, 2009 at 2:21 PM, Caires Vinicius <caire...@gmail.com> wrote: > Do you want to use parent? > > $("#findme").parent() > > http://docs.jquery.com/Traversing/parent#expr > > On Wed, May 27, 2009 at 9:19 AM, Peter Marino <marino.pe...@gmail.com>wrote: > >> Hi jQuery Group, >> is it possible find a node backwards instead of forwards. >> i.e. >> >> <div id="test0"> >> <div id="findme" /> >> <div> >> >> now I would like to do (remember find_reverse does not exist) >> $("#findme").find_reverse("#test0"); >> >> is there any method to do a find_reverse??? >> >> regards, >> Peter Wraae Marino >> >> -- >> Power Tumbling - http://www.powertumbling.dk >> OSG-Help - http://osghelp.com >> > > -- Power Tumbling - http://www.powertumbling.dk OSG-Help - http://osghelp.com