Thread: Drop down
View Single Post
  #1 (permalink)  
Old January 25th, 2008, 05:50 AM
SKhna SKhna is offline
Authorized User
 
Join Date: Jan 2008
Location: , , .
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default Drop down

Hello

How can I create a Javascript drop down list File? I want to have a webpage that contain a dropdownlist. But i want the items and values of that drop down lists to be stored in a seperate javascript file, So that my webpage call that JS file whenever user click on the DDList.

Basically what i am interested in is to place all my drop down list Items manually in the javascripting file and then on the main page there will be links from alphabet A-Z so when the user click on alphabet A the dropdown list will only show the containing items start with alphabet A....


Hope this makes sense!! The reason why is because there is a long list of items and i dont want to put them inside my page.

Will be really appreciated if someone reply with code.......

Many Thanks



Regards

Sheraz
Reply With Quote