Easy Tutorial
❮ Misc Deferred Rejectwith Traversing Parents ❯

jQuery.isWindow() Method

jQuery Miscellaneous Methods

Example

Determine if the passed parameter is a window object.

Is window a window? <b></b>
<script>
$(function () { 
    $("b").append( "" + $.isWindow(window) );
})
</script>

Definition and Usage

The $.isWindow() function is used to determine if the specified parameter is a window.


Syntax

Parameter Description
object Any type The arbitrary value to be evaluated.

jQuery Miscellaneous Methods

❮ Misc Deferred Rejectwith Traversing Parents ❯