.. _dojox/form/DropDownSelect: dojox.form.DropDownSelect ========================= :Status: Draft :Version: 1.2 :Project owner: Nathan Toone :Available: since V1.2 .. contents:: :depth: 2 A styleable drop down select box (similar to html select element) ============== Migration Note ============== As of version 1.4, dojox.form.DropDownSelect has been deprecated, as it has now been moved to :ref:`dijit.form.Select `. Please update your code! ============ Introduction ============ HTML Select tags are problematic when it comes to styling - they are not very styleable, not to mention nearly impossible to get a consistent cross-browser widget. This widget aims to resolve that issue. ===== Usage ===== The DropDownSelect is designed to replace existing HTML select elements with minimal effort. You can also create them programmatically. ======== Examples ======== A simple DropDownSelect ----------------------- This example shows a simple DropDownSelect widget - converted from a select tag. .. cv-compound :: .. cv :: javascript .. cv :: html .. cv:: css A "styled" DropDownSelect ------------------------- When styling the entries of a DropDownSelect, you must use div and span tags, instead of select and option tags - as IE will strip out any HTML within the option tags. .. cv-compound :: .. cv :: javascript .. cv :: html
Alabama Alaska Arizona Arkansas California New
  Mexico
.. cv:: css