6 Replies Latest reply on Aug 23, 2007 1:40 AM by Tomislav Jakopec

    Javascript, Client side validation???

    Ross H Newbie

      I have one richfaces object that I need to monitor the status of, relative to others

      <SCRIPT type=text/javascript>
      function validateSliders()
      //alert("form id:"+frmMap.id.redSliderInput);


      <rich:inputNumberSlider id="redSlider" onchange="javascript:validateSliders();" minValue="0" maxValue="1000" showToolTip="true" value="#{statsBean.redThreshold}" />

      How do I access the value of this slider in a java script? The output of this alert is a undefined or I get a javascript error.