代码没问明天写入文字后不显示
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我们互动下</title>
<script type="text/javascript">
function clicka(){
var massage;
massage=prompt("请输入文字");
if(message==null){
document.write("请输入文字");
}else{
document.write("关注"+message);
}
}
</script>
</head>
<body>
<form>
<input type="button" value="click" onclick="clicka()"/>
</form>
</body>
</html>