网站首页
高清电影
无损音乐
游戏攻略
电脑教程
破解资源
站长资源
软件下载
jquery 检测元素是否存在的实例代码
(编辑:jimmy 日期: 2024/10/14 浏览:
2
)
if ($('#myDiv).length) {
// your code
}
Simple, but not obvious.
上一篇:
jQuery控制iFrame(实例代码)
下一篇:
JS复制内容到剪切板的实例代码(兼容IE与火狐)
首页
音乐
电影
资源