<script language="javascript">
function show(num)
{
var input;
if(num==1)
{
input=window.prompt('1','Please type your information');
alert(input);
}
else
{
input=window.prompt('2','Please type your information');
}
alert(input);}
</script>
<body>
<input type=radio name='a' value='1' onclick='show(1)'>1
<input type=radio name='a' value='2' onclick='show(2)'>2</body>
function show(num)
{
var input;
if(num==1)
{
input=window.prompt('1','Please type your information');
alert(input);
}
else
{
input=window.prompt('2','Please type your information');
}
alert(input);}
</script>
<body>
<input type=radio name='a' value='1' onclick='show(1)'>1
<input type=radio name='a' value='2' onclick='show(2)'>2</body>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货