Skip to content

Instantly share code, notes, and snippets.

@chbaranowski
Created October 25, 2010 20:14
Show Gist options
  • Save chbaranowski/645650 to your computer and use it in GitHub Desktop.
Save chbaranowski/645650 to your computer and use it in GitHub Desktop.
Funktion als Parameter - Demo SOTE Vorlesung
function windowLoadListener(event){
var div = document.getElementById('textAusgabeDiv');
var helloWorld = document.createTextNode('Hello World');
div.appendChild(helloWorld);
}
window.onload = windowLoadListener;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment