手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >jquery控制页面的展开和隐藏实现方法(推荐)
jquery控制页面的展开和隐藏实现方法(推荐)
摘要:【jquery代码】require(["jquery","validate","bootstrap","lhgcalendar"],func...

【jquery代码】

<script> require(["jquery","validate","bootstrap","lhgcalendar"],function($) { $(function(){ $("form").validate(); }); $(".up").click(function(){ $(this).parent().parent().parent().parent().next().slideToggle("slow"); }); }); </script>

【HTML代码】

<div> <table> <thead> <tr id="a3"> <th width="15%">加盟状态</th> <th width="25%">申请表名称</th> <th width="25%">审核情况</th> <th width="25%">操作</th> <th width="10%">隐藏/展开切换</th> </tr> </thead> <tbod> <tr> <td><strong>第1步:<? echo $stage->name;?></strong></td> <td><a href="#">《信息表》</a></td> <td>-</td> <td>-</td> <td> <span ><istyle="padding:0px 5px 0 5px;"></i></span> </td> </tr> </tbody> </table> <div> <table> <tbody> <tr> <td>-</td> <td>-</td><pre name="code"> <td>-</td> </tr> </tbody> </table> </div> </div>

以上就是小编为大家带来的jquery控制页面的展开和隐藏实现方法(推荐)全部内容了,希望大家多多支持查字典教程网~

【jquery控制页面的展开和隐藏实现方法(推荐)】相关文章:

jQuery获取页面元素绝对与相对位置的方法

jquery控制表单输入框显示默认值的方法

javascript无刷新评论实现方法

javascript瀑布流布局实现方法详解

jQuery实现给页面换肤的方法

js控制网页前进和后退的方法

JavaScript每天定时更换皮肤样式的方法

js禁止页面刷新与后退的方法

JS/Jquery判断对象为空的方法

jQuery取消ajax请求的方法

精品推荐
分类导航