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