2018年8月17日
摘要: Jquery代码 $(function () { $(":checkbox.parentfunc").click(function () { //如何获取被点击的那个复选框 $(this).parent().parent().next().find(":checkbox").prop("checke 阅读全文
posted @ 2018-08-17 16:53 亦悦 阅读(1621) 评论(0) 推荐(0) 编辑
摘要: Jquery代码 <script> $(function () { $("td").click(function () { var img = $(this).prop("id"); if (parseInt(img) + 3 < 10 && $("td[id=" + (parseInt(img) 阅读全文
posted @ 2018-08-17 16:42 亦悦 阅读(522) 评论(0) 推荐(0) 编辑
  2018年8月15日
摘要: Jquery内容 <script type="text/javascript"> $(function () { var num = 0; $(".box ol li:eq(0)").click(function () { $(":text").each(function () { num += p 阅读全文
posted @ 2018-08-15 19:18 亦悦 阅读(526) 评论(0) 推荐(0) 编辑
摘要: 标签内容 <div class="box"> 请编写javascript代码,完成如下功能要求:<br /> 1.取消复选款后,要求促销价格、促销开始结束日期3个控件不可用。<br /> 2.选中复选框后,要求促销价格、促销开始结束日期3个控件可用。 </div> <div class="box"> 阅读全文
posted @ 2018-08-15 16:01 亦悦 阅读(1879) 评论(1) 推荐(0) 编辑
摘要: jquery内容 <script> $(function () { $("dl dt").click(function () { $(this).siblings().toggle().parent().siblings().children("dd").hide(); }); }); </scri 阅读全文
posted @ 2018-08-15 15:34 亦悦 阅读(4827) 评论(0) 推荐(0) 编辑