JavaScript Check if object is jQuery object
Check if object is jQuery object using instanceOf.
<script>
var is_object = MyObject instanceof jQuery;
if (isJqueryObject) {
alert("This is jQuery object");
}
</script>
<script>
var is_object = MyObject instanceof jQuery;
if (isJqueryObject) {
alert("This is jQuery object");
}
</script>