0 Replies Latest reply on Aug 2, 2007 7:34 AM by Martin Winandy

    Change the value of an inputNumberSlider by JavaScript

    Martin Winandy Newbie

      Hi,

      How can I change the value of an inputNumberSlider by JavaScript? I have a JavaScript function to reset all input fields in my form to zero. This is working so far. But I have a problem with inputNumberSliders. The value of the input text box will be set to zero. But the position of the handle will be not changed. How can I change the position of the handle to the left border?

      function simplified_clear(form) {
      
       var elements = form.elements;
      
       for (var i=0; i < elements.length; ++i)
       elements[ i ].value = '0';
      
      }


      Regards
      pmw