Dave Methvin schrieb: > > >> I wonder, how do we know if it is XML snippet we >> are working on or just an HTML snippet? >> > > I was thinking the same thing. Probably involves duck typing... > Firebug displays a "ownerDocument" for all DOM elements. If that is provided by all browsers, it should be possible to inspect some property of the owner document to decide what kind of document it is.
-- Jörn Zaefferer http://bassistance.de _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
