[英]How do I check if a variable is a jQuery object or plain DOM element?
如何检查变量是jQuery对象还是普通DOM元素?
jquery
property. jquery
属性。 instanceof jQuery
( instanceof
on MDN ) instanceof jQuery
的instanceof jQuery
( MDN上的instanceof
) nodeType
property nodeType
属性
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.