摘要: $('.cc input').bind('input propertychange', function(){ var total = 0; $("input").each(function(){ total+=(parseFloat($(this).val())?parseFloat($(this).val()):0); }); ... 阅读全文
posted @ 2017-01-05 16:08 dongxiaolei 阅读(5133) 评论(0) 推荐(0) 编辑