Here is what I've done: I loaded the page you've referenced, and, seeing no documentation, clicked "View" -> "Page source" (these menu items may vary) looked at the page source and found samples like
<input class="knob" data-width="200" data-min="-100" data-displayPrevious=true value="44">
(Bad sample to be sure: all attribute values should better be in quotation marks.)
As you can see you can just change the
value
attribute value. Let's say, you use jQuery to get a wrapper to this elements by
id
:
<input id="myKnob" class="knob" data-width="200" data-min="-100" data-displayPrevious=true value="44">
In JavaScipt:
var myKnob = $("#myKnob");
myKnob.val(55);
Try it out. The value 44 should change to 55. And so on…
Please see:
http://api.jquery.com/id-selector[
^],
http://api.jquery.com/category/selectors[
^],
http://api.jquery.com/val[
^].
—SA