<zk> <slider id="sli" mold="knob"/> <button label="set 50" onClick="sli.setCurpos(50);"/> </zk>
click the button
JS error
no error, update the current position