Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7492645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:30:05+00:00 2026-05-29T16:30:05+00:00

I have tried the rateit plugin but this does not seem to work correctly

  • 0

I have tried the rateit plugin but this does not seem to work correctly with the <option selected="selected">

UPDATE:
Updated the JSfiddle to the latest jquery and now I have the issue back where it is only displaying 4 stars when I have 5 options in the select?

I have been looking for a couple of hours now to find a rating plugin which:

  1. Doesn’t require extra HTML.
  2. Displays the option text on hover of each each using the title attribute.
  3. Only works with full star rating.

HTML

<select class="test" id="rating1" name="Rating">
    <option value="1">Poor</option>
    <option value="2">Fair</option>
    <option value="3" selected="selected">Good</option>
    <option value="4">Very Good</option>
    <option value="5">Excellent</option>
</select>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T16:30:07+00:00Added an answer on May 29, 2026 at 4:30 pm

    You need to make the selectbox update the rating value. Add:

    $('#rating1').change(function() {
      $('div#rating2').rateit('value',$(this).val());
    });
    

    See example.

    Edit:

    RateIt requires jQuery 1.6.0+, which is why updating the jQuery version causes the selectbox to (properly) disappear. Have a look at this fiddle to see if it meets your needs. This will “progressively enhance” the selectbox so that users without JavaScript enabled will still be able to use the select, and those with JS enabled will get the nicer version.

    If you want the backing field to be shown, you have to toggle it after the rateit() call. Also, to prevent the “reset” option from showing up, you need to set another data attribute and extend the select a bit:

    Example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have tried this but Contacts were not added! ContentResolver cr = this.getContentResolver(); ContentValues
I have tried : ParentForm.ControlBox = false; ... but it doesn't seem to work
I have tried this... Dim myMatches As String() = System.Text.RegularExpressions.Regex.Split(postRow.Item(Post), \b\#\b) But it is
I have tried $(#client.frm).reset(); but it is not working.So how to reset form via
have tried to change the timezon in android-emulator but it doesn't work. I write
I have tried to apply style=display:none in (e.g <option value=test id=test style=display:none;>test</option> ), this
I have tried the following but it is giving me errors: print_r($this->session->userdata()); How can
Have tried searching google but I'm struggling to find an answer to this. I
I have tried to use stripersist with mysql but was not successful. I have
I have tried all kinds of different ways to query this but just can't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.