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');  

Comments

Popular posts from this blog

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

MVP, design question -