通过length属性判断jquery对象是否存在。
//jquery 通过得到对象的长度判断对象是否存在 function testJquery() { if ($(".tel").length > 0) { alert("存在"); } else { alert("不存在"); } }
通过length属性判断jquery对象是否存在。
//jquery 通过得到对象的长度判断对象是否存在 function testJquery() { if ($(".tel").length > 0) { alert("存在"); } else { alert("不存在"); } }
jquery实现图片翻页效果02-09
【插件】滑动滚动效果相册08-14
基于jQuery实现收缩展开功能01-03
网友评论文明上网理性发言 已有0人参与
发表评论: