
jquery
文章平均质量分 79
飘飘哥
这个作者很懒,什么都没留下…
展开
-
用jquery 实现表单数据的统计可新增多行
无标题文档body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-color: #F8F9FA;}-->#Layer1 { position:absolute;原创 2012-08-16 13:38:08 · 1178 阅读 · 0 评论 -
jquery 里面的each循环时,退出该次循环
一般在for 循环里面 我们用continue 来中断当前循环 来进入到下一个循环 但是在Jquery 的each 里面 我们采用的是return ture 来实现for 循环里面continue 一样的功能原创 2012-12-14 15:44:07 · 428 阅读 · 0 评论 -
Jquery中的Keyup方法
一般在计算的时候 要求计算结果随着我们输入的数据变化而变化 这个时候 我们可用用keyup 函数 而不需要用onchange 、onblur 的函数 += $("input:first").keyup(function () { var value = $(this).val(); $("input:l翻译 2012-12-19 16:11:01 · 636 阅读 · 0 评论 -
juery每行单价、数量、金额的计算
无标题文档$(document).ready(function(){ $('.number').die().live('focusout',function(){$(this).parent().next().children().val('22');$(this).parent().next().next().children().val('33');原创 2014-08-27 15:01:46 · 1228 阅读 · 0 评论