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

 

 

 

 

 

 

 

 

 

 

 

 

 

Search Tutorials

Latest Questions
Comments
 
Dojo Combo Box 
 

In this section, you will learn what is combo box and how to create a combo box in dojo. For creating the Combo box you need "dijit.form.ComboBox".

 

Dojo Combo Box

                          

In this section, you will learn what is combo box and how to create a combo box in dojo. For creating the Combo box  you need "dijit.form.ComboBox".

Try Online: Combo Box

Combo Box: A combo box is a graphical user interface that controls GUI element. It is a combination of a drop-down list or list box and a single-line textbox, allowing the user either to type a value directly into the control or choose from the list of options.

 

 

Here is the code of Program:

<html>
  <head>
    <title>combobox</title>
    <!-- combo box -->
    <script type="text/javascript">
      dojo.require("dojo.parser");
      dojo.require("dijit.form.ComboBox");
      
      function setVal1(value) {
        console.debug("Selected "+value);
      }
    </script>
  </head>

  <body>
    <h2>Combo box</h2>
    <select name="country" dojoType="dijit.form.ComboBox"
       autocomplete="false" value="country"
     
onChange="setVal1">
      <option>India</option>
      <option>California</option>
      <option >Illinois</option>
      <option >New York</option>
      <option >Texas</option>
    </select>
  </body>
</html> 

Output of Program:

 

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.