Overriding units on a jQuery Knob does not redraw correctly on page reload
问题 I have a readonly jQuery Knob. I have been able to add units to the numeric display (as per How to display units with Jquery Knob ), but the foreground (ie. graphical value indicator) of the dial is no longer displayed when the page is reloaded. Here's my HTML: <input class="knob" id="workload" data-angleoffset=-125 data-anglearc=250 value="{{ workload }}" > ( {{ workload }} is a floating point Django template value - it is being substituted correctly ) Inside my jQuery ready function, I have