javascriptトリガー

404 ワード

<script type="text/javascript">
function time_logs() {
        var time = new Date();
        var hour = time.getHours();
        var minute = time.getMinutes();
        var seconds = time.getSeconds();
            
        time = setTimeout("time_logs()",10000);
        alert(hour);
}
</script>