Created
May 14, 2013 01:49
-
-
Save zirosas/5573033 to your computer and use it in GitHub Desktop.
Display value of input in DIV object jQuery
This file contains hidden or 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
$(function() { | |
$('#someInput').keyup(function() { | |
$('#someDiv').text($(this).val()); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment