火狐不能用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
相关问答:
三个数x,y,z 比大小..
var x,y,z,t;
if (x>y)
{t=x;x=y;y=t;} //交换x,y的值
if(x>z)
{t=z;z=x;x=t;}//交换x,z的值
if(y>z)
{t=y;y=z;z=t;}//交换z,y的值
这是 ......
以下是一段JavsScript脚本,但运行时总会产生 “Microsoft JScript 运行时错误: 'null' 为空或不是对象”异常,大家帮看一下。
<form id="form1" runat="server">
< ......
RT 如何使用JavaScript把一份xml格式的文件中的data读取转换成JSON 数组格式,弄好的在加分数
XML code:
- <channel>
<title>Key Events from Joe Santoro</title>
- <item>
< ......
我要做一个限时的倒计时,防刷新重新计时的,网上找了一个不错的,在本地运行很好,可是传到服务器上就运行不好,好像是window.name 不起作用。什么原因如果解决呢?还是哪位有更好的代码?帮解决一下,先谢谢了。{{ ......