Created
December 5, 2014 04:26
-
-
Save snowleung/245f3798f33f33b3c8b4 to your computer and use it in GitHub Desktop.
event_debug
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
<style type="text/css"> | |
#word { | |
display: none; | |
} | |
</style> | |
<html> | |
<p id="word">word</p> | |
<form action=""> | |
<input type="" onblur="test()"/> | |
<input type="submit" /> | |
</form> | |
</html> | |
<script type="text/javascript"> | |
function test() { | |
document.getElementById('word').style.display = 'block'; | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment