Skip to main content

Timeline for How bad is this jQuery?

Current License: CC BY-SA 2.5

4 events
when toggle format what by license comment
Aug 8, 2012 at 23:19 comment added Erik Reppen You can also do stuff like this. .parents('form :first'); first being immediate parent to last being outermost container.
Mar 25, 2011 at 12:51 comment added Mathias Bynens For the record, the slightly more ‘jQuery’ way to do this would be .parents().get(5). But obviously sepp2k’s suggestion is more efficient (no overhead because of an extra function call) and shorter.
Mar 13, 2011 at 23:39 vote accept Brandon Frohbieter
Mar 12, 2011 at 18:00 history answered sepp2k CC BY-SA 2.5