18073 sujets
Essaie ce bout de code qui chez moi marche très bien sous FF :
<html>
<script>
// lancer cette fonction quand le document est chargé
window.onload = function() {
// crée quelques éléments dans
// une page HTML pour l'instant vide
heading = document.createElement("h1");
heading_text = document.createTextNode("Grand titre");
heading.appendChild(heading_text);
document.body.appendChild(heading);
}
</script>
</html>
On dirait que le sujet est [Résolu], non ?
