求Javascript高手帮忙修改 - Web 开发 / JavaScript
以下网页源代码在Firefox、Chrome都正常,但到IE6就不行了,何解呢?麻烦大侠指点指点!谢了!希望保留UTF8编码~
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="Bookmark" href="Pagefiles/favicon.ico" />
<link rel="Shortcut Icon" href="Pagefiles/favicon.ico" />
<title>ℑ</title>
<!-- Initialize each slider on the page. Each slider must have a unique id -->
<script type="text/javascript" language="JavaScript">
function check(){
document.charset="UTF8";
var str = unescape(document.getElementById("ketwd").value);
if(document.search.se[0].checked) {
window.open("http://www.google.com.hk/search?q="+str);
}
if(document.search.se[1].checked) {
window.open("http://cn.bing.com/search?q="+str);
}
if(document.search.se[2].checked) {
window.open("http://www.baidu.com/s?wd="+str+"&a
相关问答:
JavaScript代码怎么实现?
请大家看清楚要求[size=12px][/size]
文件夹里面很多jpg格式的图片,比如有五百张 放在c盘的名字叫22的文件夹里面 怎么随机显示一张 希望有程序
只用JavaScript代码,不 ......
我想根据需要隐藏或者显示一个<table>中的一个<td>的内容。
所以,我写了一个这样的函数hideOrShow(id)
id就是这个<td>的id( <td align="center" id="cellAddNewOption&quo ......