我有下面的代码,它可以在Chrome,IE8和FF中完美工作。但是,当我使用IE7测试时出现错误。有人知道这里发生了什么吗? function do_replace(s, p1,p2,p3,child_node,syn_text) {
reg = new RegExp('[h\|H][1-7]');
if(p1.length>0){ //this might not be n
我有这个功能来设置cookie,它在所有浏览器上都很好用,但是它在ie7中并不保存cookie。 任何想法为什么? (输入到功能是有效的,我检查了两倍吧) function SetCookie(cookieName, cookieValue, nDays) {
try {
var today = new Date();
var expire = new Date(