How can I manually reset stars in jQuery Stars plugin in jQuery Mobile application?

I am working on a jQuery Mobile application and I am looking for a way to manually reset stars in jQuery Stars plugin on button click. I tried this:

$('').rating('select', false)

But it isn't working and producing error:

TypeError: $(...).rating is not a function

It works fine, if I don't include jQuery Mobile javascript. Is there any way to make it work with jQuery mobile?

I am using following libraries:

  • jQuery Star Rating Plugin v3.14
  • jQuery 1.9.0
  • jQuery Mobile 1.3.1


The JavaScript files should be in following order

  1. jQuery 1.9.0
  2. jQuery Mobile 1.3.1
  3. jQuery Star Rating Plugin v3.14
  4. Your script of calling star rating

Check the versions of jquery and jquery mobile that are compatible with the star rating plugin. Also, change the order in which you include jquery and jquery mobile, since it may interfere with the jquery functions used by the star rating.

Need Your Help

initializing a structure array in c with #define

c gcc struct

The following code gives me this warning:

Rendering the whole media box of a pdf page into a png file using ghostscript

pdf png ghostscript

I'm trying to render Pdfs pages into png files using Ghostscript v9.02. For that purpose I'm using the following command line:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.