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 <[email protected]> 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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
