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
2
votes
2 answers

using Raty jquery plugin with rails 4.0 scaffold form

I'm trying to use Raty in my rails form "Reviews" by using . '1 2 3 4 5' shows up instead of actual stars. I have my jquery.raty.js file is in apps/assets/javascripts and the images for stars in…
parameter
  • 894
  • 2
  • 18
  • 35
2
votes
2 answers

Align Jquery Raty plugin properly with text

I am currently working on a appointment scheduling system which is having a section for reviews left for practices. I am using Jquery Rate plugin to populate the stars on the basis of feedback submitted by users. I have tried every single thing…
Smoke
  • 1,052
  • 1
  • 10
  • 24
2
votes
3 answers

How to update raty value

I am using jquery raty plugin, there is a click event which I am using to send rating data and then return new rating from database, but I cant figure out how to update returned rating, my code: $('.starrating').raty({ number:10, …
user969068
  • 2,818
  • 5
  • 33
  • 64
2
votes
2 answers

Django: How to setup the static settings for jQuery-Raty?

I am trying to get jquery.raty working with Django. I have the serving of static-files perfectly setup, however it seems it has a problem finding the rating image files after all. This is how I have set it up: base.html (static loads here…
Houman
  • 64,245
  • 87
  • 278
  • 460
2
votes
1 answer

How can I define raty "score" variable to pass to php script?

I am trying to implement raty into a website. I have got the plugin working apart from one slight problem. I cannot manage to store the rating value into my database, because I cannot manage to pass the score variable to my php script. This is my…
David
  • 136
  • 2
  • 11
2
votes
5 answers

Jquery Raty start plugin : set score for multiple div

I am using jquery star rating plugin "Raty" https://github.com/wbotelhos/raty. i am generating a result set from database with PHP. that includes score also. I want set score property for every individual rating component. how can I do that? I am…
Jaydev
  • 427
  • 7
  • 21
2
votes
2 answers

Raty Rattings Validation

i have a small question. How do i make the raty rattings become validated in the form? Because when i uses this code $('#rating-webratting').raty({ hints : ['1 Star', '2 Stars', '3 Stars', '4 Stars', '5 Stars'], …
Eugene Tang
  • 83
  • 2
  • 8
2
votes
2 answers

Weird JavaScript type casting

I'm displaying feedback and rating for a particular entity which is shown as tab initially. When the user clicks a tab, I am getting feedback and rating using $.get() The return of $.get() is something like this some arbit html|||8 This data I'm…
Krishna Deepak
  • 1,735
  • 2
  • 20
  • 31
1
vote
1 answer

Cannot reset display of Jquery Raty on one rating div

I have successfully implemented the Raty star rating in my ASP.NET Core app but I am having one issue that I can’t seem to resolve. I am using the lib for a dual purpose (see Sample image of Raty usage): to show a read-only ‘Total’ rating for an…
MicJarek
  • 53
  • 6
1
vote
0 answers

raty stars not showing in view

I would like to use raty for rating the users of my Rails 5.1.6 application and found Elizabeth Le's documentation on Raty and Ruby on Rails. As suggested in that documentation, I went to the GitHub raty's page and I copied star-half.png,…
Asarluhi
  • 1,280
  • 3
  • 22
  • 43
1
vote
1 answer

Is it possible to know if a star is on ? (JQuery Raty Plugin)

First of all, excuse-me if I do some english mistakes, I am french. I am using the raty jquery plugin in order to put something in my favorites, I have got 1 star which can be clicked to set something in my favorites. As I said in the title, I need…
1
vote
0 answers

Can't get raty plugin working - PHP

I've been having trouble getting raty star rating plugin working with PHP. When I run the function is just displays a text box with the value, but no stars! Here is my html... (I have a number of div's with the class 'star')
1
vote
0 answers

Webpack module dependency recognition failure "$(...).raty is not a function"

I can't for the life of me figure this one out. I am use the raty() plugin but I am getting the console error "TypeError: $(...).raty is not a function". In my webpack.config.js: - entry: { app: [ srcFolder + '/index.js', …
U4EA
  • 832
  • 1
  • 12
  • 27
1
vote
1 answer

jquery raty get score in 0.5 interval

I am using jQuery Raty JS, and i want score always in an interval of 0.5, no matter where it clicks on stars For eg. 0.5, 1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5 Expected result: stars should display in an interval of 0.5 Currently, the code is…
1
vote
2 answers

How do I make the star ratings retain the value when I edit a review?

I'm using the jquery raty star rating system and it worked. Except that when I edit a review for example that has 4 stars, the edit page shows 0 stars. Should this how the jquery raty behaves? Or is there a way that when I edit that review, the edit…
Jeramae Bohol
  • 185
  • 2
  • 14