Created
December 24, 2011 22:30
-
-
Save starflyer59/1518475 to your computer and use it in GitHub Desktop.
Giggle Output
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
<span id="vote_button"> | |
<form action="/punchlines/91/votes" class="button_to" data-remote="true" method="post"><div><input type="submit" value="giggle" /><input name="authenticity_token" type="hidden" value="jy3K2aHMY8dCGzriC4XXmqx3RMqEDaXkJqaMdm7nt2Q=" /></div></form> | |
</span> |
$("#vote_total_91")
[span#vote_total_91.punchline_votes]
$('#vote_total_#{@punchline.id}').html("<%= @punchline.votes.size %>");
$("#vote_total_91").html("4");
$("#vote_total_91").html("4")
[span#vote_total_91.punchline_votes]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$("#vote_total_91")