![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
js
MrCarlson
这个作者很懒,什么都没留下…
展开
-
js生成百分数
Number(Math.round(commission/cost*10000)/100).toFixed(2)原创 2012-05-29 11:43:14 · 957 阅读 · 0 评论 -
html传中文参数
a.html function toSend(){ var input1 = document.getElementById("inputid"); window.location = "b.html?inputStr=" + escape(input1.value);} b.html...原创 2012-11-16 15:03:36 · 388 阅读 · 0 评论 -
jquery 操作select
jQuery获取Select选择的Text和Value: 语法解释: 1. $("#select_id").change(function(){//code...}); //为Select添加事件,当选择其中一项时触发 2. var checkText=$("#select_id").find("option:selected").text(); //获取Select选择的Text ...原创 2014-05-29 18:07:49 · 63 阅读 · 0 评论 -
JS备忘
获取checkbox的文本值var r=document.getElementsByName("r"); for(var i=0;i原创 2013-09-04 16:29:55 · 91 阅读 · 0 评论