Including the Dojo Combobox Widget in a Page
<title>Dojo ComboBox Widget Demo</title>

<script type="text/javascript" src="../../dojo.js"></script>
<script type="text/javascript">
                (1) dojo.require("dojo.widget.ComboBox");

This is a combobox that will auto-complete the user's input by querying the server dynamically
based on the letters the user has already typed.
                (2) <select dojoType="ComboBox" value="this should never be seen - it is replaced!"
        dataUrl="../../tests/widget/comboBoxData.js" style="width: 300px;"
        name="combo.box1" maxListLength="15">
Try starting to type the name of one of the 50 American states, like California, Alabama, etc.

Copyright 1994-2006 Sun Microsystems, Inc. Close