jQuery.isWindow()Method
Examples
Determine whether the passed parameter is a window object
windowIs it a window? <b></b>
<script>
$(function () {
$("b").append( "" + $.isWindow(window) );
})
</script>
Try it »
Definition and Usage
The $.isWindow() function is used to determine whether the specified parameter is a window.
Syntax
$.isWindow( object )
| Parameters | Description |
|---|---|
| object | Any type Any value to be checked. |
Other Extensions
jQuery Miscellaneous Methods