摘要:
运行效果:下面是代码: New Document >" onclick="move('name1','name2')"/> >" onclick="moveAll('right')"/> 可以按“shift”选择多个原文地址:http://blog.csdn.net/ayueiloveyou/archive/2008/08/03/2760882.aspx 阅读全文
posted @ 2013-10-19 17:34
dapeng888
阅读(390)
评论(0)
推荐(0)
摘要:
原文地址:http://www.w3school.com.cn/tiy/t.asp?f=hdom_timing_infinitehtml>请点击上面的按钮。输入框会从 0 开始一直进行计时。 阅读全文
posted @ 2013-10-19 17:33
dapeng888
阅读(254)
评论(0)
推荐(0)
摘要:
原文地址:http://sozai.wlling.com/html/Tutorial/JavaScript/2009/0214/2936.html/*** 得到字符串的字符长度(一个汉字占两个字符长)*/function getBytesLength(str) {// 在GBK编码里,除了ASCII字符,其它都占两个字符宽return str.replace(/[^\x00-\xff]/g, 'xx').length;}/*** 根据字符长来截取字符串*/function subStringByBytes(val, maxBytesLen) {var len = maxByte 阅读全文
posted @ 2013-10-19 17:31
dapeng888
阅读(493)
评论(0)
推荐(0)

浙公网安备 33010602011771号