Well, that explains why I couldn't find it =) The offsetParent doesn't seem to work for me in this case. I have a plugin that is trying to determine if the passed in content was attached to the DOM. What I ended up doing was checking object.parent().parent().size(). If it is > 0, it must have been in the DOM.
I'm not sure how reliable that is, but it has worked so far ;) On Dec 31, 1:26 am, Byron <[EMAIL PROTECTED]> wrote: > Hi Eric, > > it appears mike changed the topic "Discussion subject changed to > "Collecting id attributes for checked input?" by Mike Schinkel" > > i think you can use the offsetParent property to check if a node is a > attached to the document. > > $('<div id=\'test\' />')[0].offsetParent === null; > > --Byron