ComboBox by BraDypUS

Meta data
How to use
  1. In the HEAD section of your document, include prototype and ComboBox
    <script type="text/JavaScript" src="prototype.js"></script>
    <script type="text/JavaScript" src="../lib/ComboBox.js"></script>
  2. In the BODY section of your document write your input, do not forget to enter a unique id!
    <input id="myCombo" type="text" />
  3. start the script and specify as first argument of the function Combo(), the id of the input and as second argument the entries of the drop-drown-menu, in csv format:
    <script type="text/JavaScript">
    Combo('myCombo', 'first value,second value,third value, etc.');
    </script>

Example
SANDBOX by BraDypUS. Communicating Cultural Heritage