Skip to content

Instantly share code, notes, and snippets.

@mikestratton
Created May 5, 2015 02:45
Show Gist options
  • Save mikestratton/70db29f5303b683d8737 to your computer and use it in GitHub Desktop.
Save mikestratton/70db29f5303b683d8737 to your computer and use it in GitHub Desktop.
<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