Frameworks| Hibernate| Struts| JSF| JavaFX| Ajax| Spring| DOJO| JDO| iBatis| Questions?

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Dojo NumberSpinner Button 
 

In this section, you will learn how to create a NumberSpinner button that increase and decrease the number. Sometime, if you want to directly put the specified range of data.

 

Dojo NumberSpinner Button

                          

In this section, you will learn how to create a NumberSpinner button that increase and decrease the number. Sometime, if you want to directly put the specified range of data. 

Try Online: Number Spinner Button

NumberSpinner : The Number Spinner is a GUI (Graphical User Interface) that makes an integer value is entered in the box easily when small adjustments are required. There are two arrow buttons (down and up) that "spin" the number up and down (increase and decrease). When you hold the up arrow button then increase the number and down arrow button then decrease the number.

 

Here is the code of Program:

<html>
<head>
<title>Number Spinner Demo</title>
    <style type="text/css">
      @import "../resources/dojo.css";
      @import "../dijit/themes/tundra/tundra.css";
      
  </style>
    <script type="text/javascript" src="dojo.xd.js" djConfig="parseOnLoad: true"></script>
  
  <script type="text/javascript">
    dojo.require("dojo.parser");
    dojo.require("dijit.form.NumberSpinner");
  </script>
</head>
  <body class="tundra">
      <input dojoType="dijit.form.NumberSpinner"
          value="0"
          smallDelta="1"
          constraints="{min:0,max:1550,places:0}"
          maxlength="20"
          id="integerspinner2">
  </body>
</html>

Output of the Program:

If you want to increase the number then click the up arrow:

If you want to decrease the number then click the down arrow:

 

Try Online:

 

                          

» View all related tutorials
Related Tags: c dojo io accordion this ai container learn ear e il section in nt out j do s is ll

Leave your comment:

Name:

Email:

URL:

Title:

Comments:


Enter Code:

Audio Version
Reload Image
 

Note: Emails will not be visible or used in any way, and are not required. Please keep comments relevant. Any content deemed inappropriate or offensive may be edited and/or deleted.

No HTML code is allowed. Line breaks will be converted automatically. URLs will be auto-linked. Please use BBCode to format your text.

Add This Tutorial To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Training Courses
Tell A Friend
Your Friend Name
Software Solutions
Least Viewed
Most Rated
Recently Viewed
Search Tutorials

 

 
 

Home | JSP | EJB | JDBC | Java Servlets | WAP  | Free JSP Hosting  | Search Engine | News Archive | Jboss 3.0 tutorial | Free Linux CD's | Forum | Blogs

About Us | Advertising On RoseIndia.net  | Site Map

India News

Indian Software Development Company | iPhone Development Company in India | Flex Development Company in India | Java Training Delhi | Java Training at Noida |

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2008. All rights reserved.