Home > front end >  When click "start" button, a div inside every seconds "hello", "hello"
When click "start" button, a div inside every seconds "hello", "hello"

Time:09-19

 



<meta charset="utf-8"/& gt;


<body>
The function onclick () {
SetInterval (function () {
Document. The write (" hello ");
}, 1000);
}

</script>



could you please tell me why I did not respond to a button to press? How to correct?