|
MrWhy.com » Videos » Building a Star-Rating System in Ruby on Rails with jQuery |
|
|
Building a Star-Rating System in Ruby on Rails with jQuery
|
Building a Star-Rating System in Ruby on Rails with jQuery
Specification Clicking a star rating turns on the stars to the left of the star I clicked.  Clicking a star submits the star rating. When I refresh the page, the star ratings should be persistent. We’ll be using Rails’ functions including: form_for hidden_field Rails Helpers We’ll be using jQuery functions including: click each ajax {:id => form_id , :class => "star_rating_form"} do f %> form_id + "_stars" %> _" data-stars="" data-form-id=""> var set_stars = function(form_id, stars) { for(i=1; i
Video Length: 0
Date Found: July 06, 2011
Date Produced: July 05, 2011
View Count: 0
|
|
|
|
|
I got punched by an old guy, for farting near his wife. Read MoreComic book creator Stan Lee talks the future of the medium in the digital age. Panelists Zachary... Read MoreThe U.S. launch of Spotify is still on music lovers' minds. Join Zachary Levi, from NBC’s... Read MoreTuesday: Rupert Murdoch testifies before Parliament on the hacking scandal that brought down "News... Read MoreAfter a long slump, the home construction industry may be showing signs of life. But as Bill... Read More | 1 2 3 4 5 |
|
|
|