Detect DOM object vs. jQuery Object

后端 未结 6 1468
忘掉有多难
忘掉有多难 2021-01-31 08:55

I have a function that I want to be able to allow passing in either a regular javascript DOM element object or a jQuery object. If its not yet a jQuery object I will then make i

6条回答
提交回复
热议问题