Questions tagged [raty]

Raty is a plugin for JQuery that displays interactive star-ratings.

Raty is a plugin for JQuery that can be used to display star-rating controls. Its icons and hints can be customized.

The Raty plugin is 7K in size (minified), and licensed under the MIT license.

Usage and download:

102 questions
1
vote
1 answer

Jquery raty is theres a way to callback the cancel button?

Does anyone here who familiar with jquery raty? is theres a way to callback the cancel button? here's my code $(".ratings").raty({ cancel: function() { return $(this).attr("data-cancel"); } }); I want something like that. But my…
Rafael Topasi
  • 51
  • 1
  • 7
1
vote
3 answers

Ratyrate stars not loading in production (heroku)

So ive got ratyrate working in development just fine by adding <%= javascript_include_tag 'ratyrate.js', "data-turbolinks-track" => false %> to the body of my view. Prior to this the stars would only load when the url was directly accessed or the…
DanaeB
  • 85
  • 8
1
vote
2 answers

How to center jquery Raty stars inside a bootstrap 3 table cell?

I have been trying to get the stars from the Raty plugin to vertically align inside a bootstrap table, but I can't get it to work. I have tried:
Dramal
  • 167
  • 2
  • 10
1
vote
1 answer

JQuery Raty And Angular - Adding form validation

I have created a form to include a textarea and a JQuery Raty plugin. The Raty plugin is added using an Angular directive which include a custom form validation making sure user actually rated. My form submit button is depend on the form $valid…
Ohad
  • 47
  • 4
1
vote
1 answer

Raty stars rating disappears on refresh with jquery mobile MVC

Raty stars rating disappears on refresh with jquery mobile. The Code: Layout:
Patrick
  • 2,995
  • 14
  • 64
  • 125
1
vote
0 answers

jQuery Delegation Issue

I am using the Raty Rating plug-in for jQuery in a webpage as seen below in, my issue is that when I add a comment with my code I can't get the rating as the rating code is generated on the fly by the jQuery code, I assume this is a delegation issue…
llanato
  • 2,508
  • 6
  • 37
  • 59
1
vote
0 answers

jquery.raty.js works localy but doesn't work on heroku

I'm using raty (http://wbotelhos.com/raty) on my rails 4 app and it works fine localy. When I deploy to heroku I get this error message: "Uncaught TypeError: Object [object Object] has no method 'raty' ". All other javascript works fine as well. I…
misschoksondik
  • 561
  • 2
  • 6
  • 19
1
vote
1 answer

star rating rails 4 jquery ajax javascript raty

I am attempting to follow this tutorial and I am getting stuck: Adding a 5 star ratings feature to a Rails 4 model. Im a begginer with javascript and ajax so I spent a few hours learning how ajax works with javascript. I believe the problem has to…
Daniel
  • 2,950
  • 2
  • 25
  • 45
1
vote
1 answer

jQuery Raty adding up scores from IDs

i'm using jquery raty with 5 rating options on a page. I want to tally up the score for all 5 ratings. i've given each rating its own ID #targetKeep1 #targetKeep2 etc... and changed the scoreName to be unique. i would like to somehow add up all the…
acctman
  • 4,229
  • 30
  • 98
  • 142
1
vote
1 answer

Rating star javascript

I am using this plugin for ratings (http://wbotelhos.com/raty/). Basically, I am displaying multiple items, each item has its own rating stars. The problem is, it is only displaying the first result which is '2.3' and then apply it to all remaining…
user2310422
  • 555
  • 3
  • 9
  • 22
1
vote
2 answers

jQuery Raty get number of stars

I have a simple rating system with jQuery Raty Plugin http://wbotelhos.com/raty/. The user should be able to click on a star, type in a very short text and then click a button. The button has a onClick function:
m1crdy
  • 1,371
  • 2
  • 25
  • 58
1
vote
2 answers

jquery raty plugin not working with rails

I'm running rails 3.2, and trying to add a rating system using this: http://wbotelhos.com/raty/. For some reason, even though I've added: $('#rating').raty(); to my script, and
to my html as shown at the website, I still…
ttf
  • 53
  • 8
1
vote
2 answers

how to control target in a multiple jquery raty system

I'm using jquery raty to do a rating page in php, where multiple rating are displayed. It works ok unless one thing. The score function, and the click function works ok. But I'm having problems trying to set the target for each element. What I want…
Roger
  • 13
  • 4
1
vote
2 answers

Update value on success(using raty and bootstrap popover)

I am using bootstrap popover with jquery-raty. I have hidden div showing them on popover with JS function content:. I want to update some attribute in hidden div. Suppose I've data-rating attribute in hidden div. I want to update data-rating value.…
Shah
  • 649
  • 1
  • 5
  • 11
1
vote
1 answer

Raty not working in bootstrap popover

I've added raty in bootstrap popover. It is not working in bootstrap popover windows but outside it works. Here is a js fiddle. Am I missing something? Thanks Here is a rating code. Inside popover I am not able to click on…
Shah
  • 649
  • 1
  • 5
  • 11