jq tab切换
来源:互联网 发布:手机4g数据连接不稳定 编辑:程序博客网 时间:2024/05/16 05:13
<div class="div1"> <input type="button" value="选项一" class="selete"> <input type="button" value="选项二"> <input type="button" value="选项三"></div><div class="div2"> <div class="active">我是内容一</div> <div>我是内容二</div> <div>我是内容三</div></div
$(function() { $('.div1 input').click(function() { $(this).addClass('selete').siblings().removeClass('selete'); $('.div2 div').eq($(this).index()).addClass('active').siblings().removeClass('active');})
阅读全文
0 0
- jq的tab切换
- jq tab切换
- jq tab选项卡切换
- JQ tab 切换-局部刷新(关于index)
- jq实现简单的tab切换效果
- jq,TAB
- js,jq,css多方面实现简易Tab切换
- JQ 监控Tab 按键
- tab切换
- 切换tab
- Tab 切换
- TAB切换
- Tab切换
- Tab切换
- tab切换
- tab切换
- tab切换
- tab切换
- linux进程通信1
- How Many Tables -- 并查集
- 虚拟机网络详解
- LuBan
- 浅拷贝和深拷贝
- jq tab切换
- C++网络(二)WindowsSocket的环境配置
- theano深度学习库介绍
- 电流测量
- 返回函数---(这个其实多个参的时候还是不太。。。。)
- linux进程通信2
- [js]身份证号码验证
- <UMENG_CHANNEL_VALUE> is provided.
- python中的递归函数