Created
May 27, 2015 19:12
-
-
Save anonymous/0c311ebc3b3f64f9c2c0 to your computer and use it in GitHub Desktop.
Wann wird Javascript ausgeführt?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<title>Wann wird Javascript ausgeführt?</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
function meinJavascript() | |
document.write("<p>Angeklickt!</p>"); | |
</script> | |
<button type="button" onclick="meinJavaScript()"> | |
Klick mich | |
</button> | |
<script type="text/javascript"> | |
document.write("Beim laden ausführen"); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment