<html>
<head>
<title>Hello Timer</title>
<script language="javascript">
function OnClick1(){
setTimeout("test()",1000)
}
function test(){alert('ddd');}
</script>
</head>
<body>
<input type = "button" onclick = "OnClick1()" value = "Click me111"></input>
</body>
</html>