摘要:
以下操作cookie在Firefox和Safari中测试成功,在IE中失败(读取、获取,改写,设置)。 经过反复测试,发现把http://127.0.0.1改为http://localhost之后,IE中也可以正常运行。 function getCookie(c_name) { if (document.cookie.length > 0) { c_start = document.coo... 阅读全文
摘要:
在 Visual Studio 2005下设置断点调试 我自己的断点调试的方法是: 1. IE浏览器下Internet选项 --> 高级 --> 去掉 禁用脚本调试 的勾。 2. 在JS里面写上 debugger; 然后设置断点, F5运行调试。 我的Visual Studio 2008不能为javascript设置断点; 把光标放到JS代码中,按F9没有反应 ? http://hi.... 阅读全文