Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript_howto thread: Select Field


Message #1 by "S.ArunSrinivasan" <arun@o...> on Thu, 5 Sep 2002 12:48:59 +0800
Hi there,

Yes, it can be done, and the ideas you have are good. I think the method 
you choose is a personal one. Personally I'd go for the onblur event, but 
you could use a button as well.

There is a live deno of this at: http://www.metabuilders.com called the 
Combobox. It's actually an ASP.NET server control, but I think it'll at 
least show you the principle.

Cheers,

Imar




> Hai,

       I  have a List box , drop down menu in my page. 
       I have a doubt , if I want to enter a new option in List box  or 
drop
down menu
       whether we could directly enter it in the list box or drop down 
menu
i.e
       typing in the list box or drop down menu itself. Whether it is
possible.

       I think it can  be done in  the following ways
       1. Getting value for option field for list box or drop down menu 
in  a
text box
            and by pressing button we could generate a onclick event to 
add
the 
            value in list box or drop down menu 
        2  Getting value for option field for list box or drop down menu 
in  a
text box  
             and on onchange event we could add the value in list box or 
drop
down menu.

Bye & Regards,
S.Arun Srinivasan

  Return to Index