Err, wait - no it wouldn't. Nevermind. --John
On Mon, Jul 27, 2009 at 9:18 AM, John Resig <jere...@gmail.com> wrote: > Your solution doesn't appear to be correct: > ((elem.ownerDocument || elem).documentElement || false).nodeName > > That could result in false.nodeName - which would cause an exception. > > --John > > > On Mon, Jul 27, 2009 at 9:11 AM, Andrea Giammarchi < > andrea.giammar...@gmail.com> wrote: > >> ((elem.ownerDocument || elem).documentElement || false).nodeName > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---