javascript
iteye_15129
这个作者很懒,什么都没留下…
展开
-
Javascript对Option值得获取
New Document function getItem(){ var xmlx = document.getElementById("xmlx"); alert(xmlx.options[xmlx.selectedIndex].text); } 项...原创 2013-07-11 09:37:11 · 97 阅读 · 0 评论 -
js数字转中文大写
function NumToChinese(num) { if (!/^\d*(\.\d*)?$/.test(num)) { alert("Number is wrong!"); return "Number is wrong!"; } var AA = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆原创 2013-12-13 20:40:09 · 229 阅读 · 0 评论