ColdFusion 9.0 Resources |
ColdFusion.Slider.enableDescriptionEnables the slider control. Function syntaxColdFusion.Slider.enable(name) See alsoColdFusion.Slider.disable, ColdFusion.Slider.getValue, ColdFusion.Slider.getSliderObject, ColdFusion.Slider.hide, ColdFusion.Slider.show, ColdFusion.Slider.setValue HistoryColdFusion 9: Added this function Parameters
ReturnsThis function does not return any value. Example<h3>This is an example of the Slider.enable function. Click the Enable Slider button to enable the slider.</h3> <script language="JavaScript" type="text/javascript"> function onload() { ColdFusion.Slider.disable('sliderID'); } function enable(){ ColdFusion.Slider.enable('sliderID'); } </script> <br> <cfform name="form01"> <br/> <cfslider name="sliderID" format="HTML" body onLoad="onload()" vertical="false" width="350" value="100" min="0" max="200" increment="10" tip="true"/> <cfinput type="button" name="htmlbutton" value="Enable Slider" onclick="enable()"> </cfform> |