Created
August 20, 2014 15:16
-
-
Save adagio/98faaee72172bb6e3dd7 to your computer and use it in GitHub Desktop.
Use JQuery to manipulate the dom and html elements with the powerful help of Rails bindings
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
$("tr#<%= @day.id %> td.oTotal").html("<%= @day.oTotal %>"); | |
$("tr#<%= @day.id %> td.dTotal").html("<%= @day.dTotal %>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment