1
I want to run a javascript function that shows a message by clicking on the page, that is, while the page loads, the message appears on the screen, but I do not know how to use in Html5 with javascript, because I am using the required
(validation within html, without js)
I’ve heard of the function onbeforeunload
, but it is discontinued, has some function that replaces it?
onbeforeunload
not this depreciated– M8n