火狐不能用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的值
这是 ......
void CWEHelperDlg::OnOK(){
CString code;
//调用VBSCRIPT,能弹出消息框,也能正确返回 hello
code = "function main()\r\n\tMsgBox \"ok\"\r\n\tmain=\"hello\"\r\nend functio ......
我做一个购物车,想计算每件商品的价格!当输入数量时,就会自动计算出小计,然后再把所有的小计加起来算出总计..这样可行吗??我做的都显不到结果的!都是显示NaN...请教各位高手如何写才能实现这个功能!
  ......
RT 如何使用JavaScript把一份xml格式的文件中的data读取转换成JSON 数组格式,弄好的在加分数
XML code:
- <channel>
<title>Key Events from Joe Santoro</title>
- <item>
< ......
新装了系统,写了个测试页:
<html>
<head>
<title>test</title>
<script type="text/javascript">
function do(){
var message=document.getElementB ......