麻烦找一下问题,谢谢。
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN http://www.<html lang="en">
<head>
<script language="JavaScript">
<--
function a(){
document .getElementById ( "abc" ).style.display="block";
document .getElementById ( "cba" ).style.display="block";
}
function b( ){
var a =prompt("您姓什么?") ;
var b =confirm("男性请按确定,女性请按取消") ;
if( b = = true )
{
alert( "欢迎"+b+"先生!");
}
else
{
alert( "欢迎"+b+"小姐" );
}
}
function c(){
document .getElementById ( "abc" ).style.display="none";
}
//-->
</script>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="" type="text/css"/>
</head>
<body>
<form>
<table>
<tr><td colspan="2"><input type="text" id="abc" name="abc" style="display:none;" onClick="b()"></input></td></tr>
<tr><td>
<input type="button" onClick="a()" value="显示"></input>
<input type="button" onClick="c()" name="cba" id="cba" style="display:none ;"></input>
</td></tr>
</table>
</form>
</body>
</html>
帮忙找一下问题。谢谢!!!