Created
January 30, 2013 18:51
-
-
Save the-frey/4675669 to your computer and use it in GitHub Desktop.
Sort of a very rough prototype for the review fields in the app.
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.10.0/jquery-ui.min.js"></script> | |
<style type="text/css"> | |
textarea#text { | |
outline: none; | |
border:none; | |
float:left; | |
} | |
#submit { | |
clear: left; | |
} | |
#wrapper { | |
width:70%; | |
margin:0 auto; | |
} | |
</style> | |
<script type="text/javascript"> | |
$(function(){ | |
$("#submit").click(function(){ | |
var cont = $('#text').val(); | |
//alert(cont); | |
$("#content").append(cont); | |
}); | |
}); | |
</script> | |
</head> | |
<body> | |
<div id="wrapper"> | |
<textarea id="text" name="content" placeholder="Type here..." cols="60" rows="5"></textarea> | |
<a id="submit" href="#">Submit »</a> | |
<div id="content"></div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment