JQuery基礎.show();.hide();
来源:互联网 发布:佳能照片打印机软件 编辑:程序博客网 时间:2024/05/16 12:00
<!DOCTYPE html>
<html>
<head>
<script src="/jquery/jquery-1.11.1.min.js">
</script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
$("pl").click(function(){
$(this).hide();
alert("TEST")
//(this).show();
});
$("p2").click(function(){
alert("TESTGAN")
$("pl").show();
});
});
</script>
</head>
<body>
<p>如果您点击我,我会消失。</p>
<p2>ttt</p2><pl style="display:">点击我,我会消失。</pl>sss
<p>也要点击我哦。</p>
</body>
</html>
<html>
<head>
<script src="/jquery/jquery-1.11.1.min.js">
</script>
<script>
$(document).ready(function(){
$("p").click(function(){
$(this).hide();
});
$("pl").click(function(){
$(this).hide();
alert("TEST")
//(this).show();
});
$("p2").click(function(){
alert("TESTGAN")
$("pl").show();
});
});
</script>
</head>
<body>
<p>如果您点击我,我会消失。</p>
<p2>ttt</p2><pl style="display:">点击我,我会消失。</pl>sss
<p>也要点击我哦。</p>
</body>
</html>
阅读全文
0 0
- JQuery基礎.show();.hide();
- jquery动画show () hide()
- JQuery show hide方法
- jquery中的show()跟hide()
- jQuery中的slideUp()、slideDown()、hide()、show()
- jQuery源码分析16: .hide()与.show()
- jQuery中的slideUp()、slideDown()、hide()、show()
- jQuery动画animate使用show hide toggle
- jquery中 show()、hide()、toggle()显示效果
- jQuery hide() 和 show() 隐藏和显示
- Jquery基础之hide,show,toggle
- jQuery 效果 show() 和 hide()方法
- 前端学习 jQuery动画 show Hide
- jQuery的隐藏显示hide(),show()方法
- jquery点击show(),hide()导航例子
- jquery实战1-hide与show
- JQuery 显示隐藏动画( show(),hide(),toggle() )
- jQuery-show()与html()及hide()用法 学习笔记四
- window7下手动启动MySQL-server
- 21.2 日志格式
- 京东家电决战双11:规模优势下不仅仅是薄利多销
- Java 中的Integer Pool 和 autoboxing-same-value-to-different-objects问题
- Spring 事务基础练习
- JQuery基礎.show();.hide();
- 聊聊面向对象的几个基本原则
- 关于Jquery错误的解决:Uncaught TypeError: $.post is not a function
- G 零崎的朋友很多Ⅱ(0-1背包修改版 )
- 21.3 命中率测量
- 分层图最短路问题详解
- 返回指定时间段相同间隔数组
- 爬楼梯
- [实时渲染] 3. 图形处理单元-GPU