Does anyone know how to makea n annoying pop up message in javascript, that keeps on opening up over and over again, almost like a loop script? :D

Recommended Answers

All 3 Replies

You can place the alert within a function and use the setInterval method to call the function every certain number of milliseconds.


To make it open continually, use the while(true) loop:

Do while(0<1){
 alert("I'm an infinite Loop!!")
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.