Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: create a combolist diynamically


Message #1 by "lilia lopez" <lilialopez47@h...> on Thu, 9 Jan 2003 18:02:24
for this I use 2control: 1 input to get the data and 1 select with the
select size set to just show the little arrow

The 2 controls are tied by event handling =>
typing in the input => onchange a new entry is added to the select with
typed value
Onmouseover of the select the select expand to hide the input and onchange
the selected value is set in the input field then select is resized

Removal is just clearing the input value after setting it.


"Walter Torres" <walter@t...> wrote in message
news:252692@j...
>
> This don't create a combo box.
>
> It just dynamically creates a pick list.
>
> How can "we" fake a combo box?
>
> walter
>
>



  Return to Index