modifier script pour erreur si element inexistant
This commit is contained in:
@@ -21,6 +21,8 @@
|
||||
display: block;
|
||||
background-color: yellow;
|
||||
font-weight: bold;
|
||||
color: black;
|
||||
|
||||
}
|
||||
body {
|
||||
min-height: 100vh;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
window.onload = function () {
|
||||
setTimeout(function () {
|
||||
document.getElementById('message').innerHTML =
|
||||
'The page has finished loading! After 2 second';
|
||||
/* document.getElementById('message').innerHTML =
|
||||
'The page has finished loading! After 2 second'; */
|
||||
document.getElementById("updateDate").setAttribute("id", "updateDateV");
|
||||
}, 2000);
|
||||
};
|
||||
Reference in New Issue
Block a user