Comment ajouter du texte à l'élément en javascript
var paragraph = document.getElementById("p");
paragraph.textContent += "This just got added";
Mohamad
var paragraph = document.getElementById("p");
paragraph.textContent += "This just got added";
var p = document.getElementById("p")
p.innerText = p.innerText+" And this is addon."
document.getElementById("p").textContent += " this has just been added";