87,920
社区成员
发帖
与我相关
我的任务
分享
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>test</title>
function aa(){
alert("a");
document.getElementById("b").click();
}
function bb(){
alert("b");
}
</script>
</head>
<body>
<input type="button" value="a" onclick="aa();" id="a"/>
<input type="button" value="b" onclick="bb();" id="b"/>
</body>
</html>