火狐不能用JavaScript显示表格
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="shop.ascx.cs" Inherits="DesktopModules_Temp_shop" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<script type="text/javascript">
function over(tdid) {
tdid.style.backgroundColor = "#999999";
}
function Out(tdid) {
tdid.style.backgroundColor = "Transparent";
}
function showtable(tableid) {
var showGoodsone = document.getElementById("showGoodsone");
var showGoodstwo = document.getElementById("showGoodstwo");
var showGoodsthree = document.getElementById("showGoodsthree");
var showGoodsfour = document.getElementById("showGoodsfour");
var showGoodsfine = document.getElementById("showGoodsfine");
switch (tableid.id) {
case "showGoodsone":
showGoodsfine.style.display = "none";
showGoodsfour.style.display = "none";
showGoodsone.style.display = "block";
showGoodstwo.s
相关问答:
以下是一段JavsScript脚本,但运行时总会产生 “Microsoft JScript 运行时错误: 'null' 为空或不是对象”异常,大家帮看一下。
<form id="form1" runat="server">
< ......
最近 使用 js, 经常不能上网, 希望哪位达人 能提供一个
比较完整的 js离线文档,新一点儿,完整点儿的比较好,比如涉及 dom 这些
请指点一二.
万分感谢啊.
http://download.csdn.net/source/566130
......
我做一个购物车,想计算每件商品的价格!当输入数量时,就会自动计算出小计,然后再把所有的小计加起来算出总计..这样可行吗??我做的都显不到结果的!都是显示NaN...请教各位高手如何写才能实现这个功能!
  ......
我的jsp是utf-8,我的js文件怎样转为utf-8我现在用的是Dreamweaver cs3 我在jsp引入js时就不行。。
还有大家是用什么来编辑js的。 调试呢
vs2008,eclipse
我用myeclipse更新装spket和jseclipse但是最后报错。浪 ......
RT 如何使用JavaScript把一份xml格式的文件中的data读取转换成JSON 数组格式,弄好的在加分数
XML code:
- <channel>
<title>Key Events from Joe Santoro</title>
- <item>
< ......