<html>
<head>
</head>
<body>
<form>
<div id="aaa"><input type="button" onclick="alert('ok');" value="OK"></div>
<br><br>
<input type="button" onclick="delet();" value="Click" class="button confirm">
</form>
<script>
function delet(){
document.getElementById('aaa').getElementsByTagName('input')[0].click();
}
</script>
</body>
</html>