0
What is the difference between using alert and document.write in java script
3 ответов
+ 5
Alert shows an alert box to the user with a message that the user has to press "Ok" to continue using the website.
The document.write prints something directly to the website and don't require user interaction.
+ 1
alert shows a pop up window
+ 1
thanks