JavaScript

From wiki
Jump to navigation Jump to search

Scripting language to use inside html pages.

As always, w3schools has a very good tutorial


document.getElementById('demo').innerHTML = 'Written by JavaScript into demo-elements';
Write something into an element with id 'demo'
document.write("A text, ", "and some math", 1 + 1);
Write just like that.