首页 > 代码库 > jsp按钮隐藏自动点击

jsp按钮隐藏自动点击

<%@ page language="java" import="java.util.*" pageEncoding="big5"%>
<html>
<head>
<script type="text/javascript">
function but(){
$("#bu").click();
}
setTimeout(but,1000);
</script>
</head>

<body>
<input type="button" style="display: none" id="bu" name="bu" onclick="but()">
</body>
</html>