Created
July 18, 2016 12:39
-
-
Save awkrail/3a8972e84c259686172eb576961684d0 to your computer and use it in GitHub Desktop.
JS_listener
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> | |
<meta charset="utf-8"> | |
<title>LTaichi</title> | |
</head> | |
<body> | |
<script> | |
function sample1(){ | |
console.log('こんにちは'); | |
} | |
function sample2(){ | |
console.log('こんばんは'); | |
} | |
</script> | |
<div onclick="sample1()" onclick()="sample2()"> | |
Hoge | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment