摘要: 1、截取gb2312字符串:代码2、截取UTF-8字符串:代码 阅读全文
posted @ 2010-04-17 11:31 浪淘沙(Jeff.Liu) 阅读(1390) 评论(1) 推荐(1) 编辑
摘要: ff默认会缓存input的值,只有使用ctl+F5强制刷新的才可以清除 缓存记录。如果不想让ff缓存input的值,有2种方法:方法一:在不想使用缓存的input 中添加 autocomplete="off"; eg: <input type="text" autocomplete="off" name="test" />方法二:在 input 所在的form 标签中添加 autoco... 阅读全文
posted @ 2010-04-17 11:21 浪淘沙(Jeff.Liu) 阅读(1729) 评论(0) 推荐(0) 编辑