[whatwg] Quick thought on the Combo Box problem...

Matthew Raymond mattraymond at earthlink.net
Tue Jun 29 19:25:16 PDT 2004


voracity wrote:
> 
>      <input type="text" name="combotext" suggest="somedata"/>
>      <input type="text" name="anothercombotext" suggest="somedata"/>
>      <combo id="somedata">
>        <comboitem value="Item 1" />
>        <comboitem value="Item 2" />
>        <comboitem value="Item 3" />
>      </combo>
>      <script language="ECMAScript" src="nonWF2_dropdown.js"></script>


    Hmm... How 'bout this:

    <popup id="list1">
      <item value="Item 1" />
      <item value="Item 2" />
      <item value="Item 3" />
    </popup>

    <popup id="cutcopy">
      <item value="Cut" />
      <item value="Copy" />
      <item value="Paste" />
    </popup>

    <label for="combo1">Combo 1: </label>
    <input type="combo" name="combo1" value="Default" popup="list1" />

    <label for="combo2">Combo 2: </label>
    <input type="combo" name="combo2" value="Default" popup="list1" />

    <label for="text1">Text 1: </label>
    <input type="text" name="text1" value="Default" context="cutcopy" />

    <script language="ECMAScript" src="nonWF2_popup.js"></script>




More information about the whatwg mailing list