Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $(".new-tweet-form button").click(function(e){
- e.preventDefault();
- var tweet = $('.new-tweet-form textarea').val();
- $(".timeline").prepend('<div class="panel panel-default"><div class="panel-heading"><div class="panel-title"> John Doe <div class="handle">@JohnDoeOfficial</div></div></h3></div><div class="panel-body">' + tweet +"</div></div>")
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement