window.location在IE 6中不工作
下面的JS脚本在FF和IE7中运行良好.不过,它在IE6中失败了,而IE6恰好是我的目标受众.
失败的是...Window.Location没有呼叫.
选择 | 换行 | 行号
- function confirmation(text,url_link) {
- var answer = confirm(text)
- if (answer){
- window.location = url_link;
- }
- }
下面的JS脚本在FF和IE7中运行良好.不过,它在IE6中失败了,而IE6恰好是我的目标受众.
失败的是...Window.Location没有呼叫.