+ 1
Disable auto refresh of page
how can I disable page refresh when I click on the button or after generating an alert ()?
1 Réponse
+ 2
Whenever an alert, prompt or confirm is made on the document, the browser must refresh to get the input and use it. this default behavior cannot be altered