java小程序,求助!!哪位大哥
======================================================
function test(obj){
if( =="radio1"){
alert("您选的是"+ lue);
tElementById("div1")。 style。display="";
}else if( =="radio2"){
alert("您选的是"+ lue);
tElementById("div2")。style。display="";
}else{alert("您选的是"+ lue);}
}
function hiden(){
tElementById("di...全部
======================================================
function test(obj){
if( =="radio1"){
alert("您选的是"+ lue);
tElementById("div1")。
style。display="";
}else if( =="radio2"){
alert("您选的是"+ lue);
tElementById("div2")。style。display="";
}else{alert("您选的是"+ lue);}
}
function hiden(){
tElementById("div1")。
style。display="none";
tElementById("div2")。style。display="none";
}
Choose an option:
1。 Buy a travel pass
2。
Charge my MyTi
3。
Show remaining credit
What time period:
a) 2 Hours
b) All Day
c) cancel
Which zone:
a) Zone 1
b) Zones 1 and 2
c) cancel
=========================================================
将====中间的代码拷贝,粘贴到一个文本文件,然后保存后缀名为htm,如: m 保存后用浏览器打开(IE浏览器 允许ActiveX 控件)。收起