Carlo Carlo - 1 year ago 111
jQuery Question

How to display units with Jquery Knob

I'm using Jquery knob ( and it works great but rather than have a dimentionless number displayed in the middle I would like to display units with it ei % or F etc ... How can I do this?

Answer Source
    min: 1
    max: 10
    stopper: true,
    readOnly: false,//if true This will Set the Knob readonly cannot click
    draw: function () {
         $(this.i).val( + '%') //Puts a percent after values
    release: function (value) {
  //Do something as you release the mouse


Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download