Wrote a plugin for it. http://code.google.com/p/jquery-plugin-dev/source/browse/trunk/jquery.getPath.js
On Aug 2, 6:44 am, George <george.jqu...@softwareunity.com> wrote: > Yep, that first solution works well. I've used something similar on a > recent project. > (If performance is critical then as well as tweaking the while loop > I'd be inclined to use .length instead of .size() and to ditch > the .toLowerCase() method.) > > George > > On Jul 31, 2:34 pm, Julian Aubourg <aubourg.jul...@gmail.com> wrote: > > > > > The issue with simple code like this are siblings. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---