How to know the type of an jQuery object? -
I want to find out if it's a & lt; Options & gt; or something else
You can use the method to determine that A jQuery object matches a selector.
For example:
var isOption = someObj.is ('Options');
I want to find out if it's a & lt; Options & gt; or something else
You can use the method to determine that A jQuery object matches a selector.
For example:
var isOption = someObj.is ('Options');
Comments
Post a Comment