W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

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

From: Matthew Raymond <mattraymond@earthlink.net>
Date: Tue, 29 Jun 2004 22:25:16 -0400
Message-ID: <40E2248C.5010301@earthlink.net>
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>
Received on Tuesday, 29 June 2004 19:25:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC