摘要: <script type="text/javascript"> $(function () { $("#checkAll").click(function () {//点击全选 var allLength = $(":checkbox[id!='checkAll']").length; //复选框的 阅读全文
posted @ 2016-08-25 10:07 路小乙 阅读(387) 评论(0) 推荐(0) 编辑
摘要: //获取选中的下拉框 $('#someElement').find('option:selected'); $('#someElement option:selected'); //返回头部滑动动画 <script type="text/javascript">$(function () { jQu 阅读全文
posted @ 2016-08-25 09:53 路小乙 阅读(260) 评论(0) 推荐(0) 编辑
摘要: <input id="txt" class="text1" type="text" /> <script src="js/jquery-1.7.1.min.js"></script> <script type="text/javascript"> $(function () { $("input.t 阅读全文
posted @ 2016-08-25 09:25 路小乙 阅读(474) 评论(0) 推荐(0) 编辑