On May 8, 9:58 pm, "Ⓙⓐⓚⓔ" <[EMAIL PROTECTED]> wrote:
> hmm, what do you get for $('body') or $('html') ??

$('html').parent() = [ Document ]
$('body').parent() = [ html ]

Nothing unusual here.

For now, I've opted for the following:

var container = $(settings.container);
if (!container.parent().parent().size()) {
// settings.container must not be an existing page element,
// so insert it into the DOM
...
}

Reply via email to