Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Korrigiert
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<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
You can’t perform that action at this time.