topical media & game development
#javascript-code-21-change.js / js
// Watch the ‘entryArea’ (which is a <textarea>) for any changes
document.getElementById(“entryArea”).onchange = function(){
// When the area has been changed, update the live preview
document.getElementById(“preview”).innerHTML = this.value;
};
(C) Æliens
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher.
In case of other copyright issues, contact the author.