jQuery.isWindow()方法

jQuery 教程 · 2019-03-28 22:36:39

实例

判断传入的参数是否为 window对象

window 是一个窗口吗? <b></b> <script> $(function () { $("b").append( "" + $.isWindow(window) ); }) </script>

定义和用法

$.isWindow() 函数用于判断指定参数是否是一个window窗口。

语法

$.isWindow( object )

参数 描述
object 任意类型 需要进行判断的任意值。

点击查看所有 jQuery 教程 文章: https://www.codercto.com/courses/l/35.html

查看所有标签

Chinese Authoritarianism in the Information Age

Chinese Authoritarianism in the Information Age

Routledge / 2018-2-13 / GBP 115.00

This book examines information and public opinion control by the authoritarian state in response to popular access to information and upgraded political communication channels among the citizens in co......一起来看看 《Chinese Authoritarianism in the Information Age》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具