Created
January 26, 2014 22:23
-
-
Save rolaveric/8640249 to your computer and use it in GitHub Desktop.
Reasons to use AngularJS: Without Angular
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
<input type="text" id="messageInput"/> | |
<span id="messageOutput"></span> | |
<script type="text/javascript"> | |
(function () { | |
var input = document.getElementById('messageInput'); | |
var output = document.getElementById('messageOutput'); | |
input.addEventListener('change', function () { | |
output.innerHTML = input.value; | |
}); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment