JqxRating: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
== Description == | == Description == | ||
The rating control lets you enter and display a number of stars in a row. It is based on the jqWidgets jqxRating widget. | |||
== Properties and Methods == | == Properties and Methods == | ||
See the complete documentation at jqWidget's site: | See the complete documentation at jqWidget's site: | ||
http://www.jqwidgets.com/jquery-widgets-documentation/documentation/ | http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxrating/jquery-rating-getting-started.htm | ||
== Example == | == Example == |
Revision as of 14:01, 14 May 2013
Description
The rating control lets you enter and display a number of stars in a row. It is based on the jqWidgets jqxRating widget.
Properties and Methods
See the complete documentation at jqWidget's site: http://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxrating/jquery-rating-getting-started.htm
Example
Events
Function Rating1_onchange(event) Dim curValue curValue = event.value Label1.textContent = "Rating Value: " & curValue End Function
Functions
Rem disable rating Function Button1_onclick() $("#Rating1").jqxRating({disabled:True}) End Function Rem enable rating Function Button2_onclick() $("#Rating1").jqxRating({disabled:False}) End Function Rem Set rating value 5* Function Button3_onclick() $("#Rating1").jqxRating({value:5}) End Function Rem Get rating value Function Button4_onclick() Dim curValue curValue = $("#Rating1").jqxRating("value") MsgBox "Current Value is : " & curValue End Function
Output
See above.