Created
May 5, 2015 02:45
-
-
Save mikestratton/70db29f5303b683d8737 to your computer and use it in GitHub Desktop.
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
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function(){ | |
$("#submit").click(function(){ | |
var postInputVal = $("#postinput").val(); | |
$("#postecho").val(postInputVal); | |
console.log("OK!"); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment