如何使用Jquery旋钮显示单位

CWr*_*ght 1 jquery jquery-plugins jquery-knob

我正在使用Jquery旋钮(http://anthonyterrien.com/knob/)并且它工作得很好但不是在中间显示无维数的数字我想用ei%或F等显示单位...如何我可以这样做吗?

Nol*_*ico 5

$("input.Measure").knob({
        min: 1
        max: 10
        stopper: true,
        readOnly: false,//if true This will Set the Knob readonly cannot click
        draw: function () {
             $(this.i).val(this.cv + '%') //Puts a percent after values
        },
        release: function (value) {
      //Do something as you release the mouse
    }
});
Run Code Online (Sandbox Code Playgroud)