这个取消输入框应该怎么改?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>函数传参</title>
<script type="text/JavaScript">
function add3(x,y,z)
{
var x = parseInt(prompt("请输入第一个数:"));
var y = parseInt(prompt("请输入第二个数:"));
var z = parseInt(prompt("请输入第三个数:"));
sum = x + y +z;
document.write(x+"、"+y+"、"+z+"和:"+sum+"<br/>");
}
</script>
</head>
<body>
<input type="button" value="请输入add3的取值" onclick="add3()">
</body>
</html>