In this section, you will learn about slider and how to create a slider in dojo.
Slider : A slider is a GUI (Graphical User Interface) component. In other words a slider is a scale with handle a dragged values up/down or left/right. Calling the dojo slider by using the dojo.require("dijit.form.Slider") that provides dijit.form.HorizontalSlider, dijit.form.VerticalSlider and all rules and label classes.
The following code
fills a simple textbox called
Here is the code of Program:<html>
Output of the Program:
When you click the left side button (-) then decrease the value of slider and click the right side button (+) then increase the value of slider.
Rs. 20,000 US$ 300
Today: Rs. 10,000 US$150
Course Duration: 30 hrs
Posted on: April 18, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles