我如何检查一个变量是一个jQuery对象还是纯DOM元素?
我如何检查一个变量是一个jQuery对象还是纯DOM元素?
jquery属性。 instanceof jQuery一个instanceof jQuery (MDN上的instanceof ) nodeType属性 上一篇: How do I check if a variable is a jQuery object or plain DOM element?
我如何检查一个变量是一个jQuery对象还是纯DOM元素?
jquery属性。 instanceof jQuery一个instanceof jQuery (MDN上的instanceof ) nodeType属性 上一篇: How do I check if a variable is a jQuery object or plain DOM element?