Dave Methvin schrieb:
>> duck typing?
>  
> Google is faster than the reply button...
> http://en.wikipedia.org/wiki/Duck_typing
> 
> We'd want to find some property that XML/HTML does or does not have that
> would make it easy to decide whether to apply the "class" => "className"
> transformations. You can't use something elegant like "instanceof
> HTMLElement" because IE's implementation is external to Javascript.

getElementsByTagNameNS should only work with XML, but it isn't supported 
in IE. No idea if this could work...


-- Klaus







_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to