Javascript for Drop down menus
Hi all, I would like some help with a Javascript. I am trying to create drop down menus that when a category is selected from the first drop down menu, the second drop down menu will auto-populate with options relating to that category. For example:
I would like my first drop down menu to have 2 options, first one being 'Material Classifications' and the second being 'Machine Classifications'
When 'Material Classifications' is selected from the first drop down menu, I would like the second drop down menu to auto populate with the following:
Fuel - Diesel
Fuel - ULP
Lubrication - Fluid
Lubrication - Grease
Lubrication - Oil
Coolant
Surface Coating - Acid
Surface Coating - Paint
Surface Coating - Solvent
Gases - Acetylene
Gases - Argon
Gases - Nitrogen
Gases - Oxygen
Gases - Refrigerant
Gases - Argoshield (Ar, O, Co2)
Electrodes - E308
Electrodes - E410
Electrodes - E7018
Electrodes - E71T
Electrodes - ENi-CL
Electrodes - ER5154
Electrodes - ER70S
Electrodes - Paste/Powder
No Category
When 'Machine Classifications' is selected from the first drop down menu, I would like the second drop down menu to auto populate with the following:
Bus
Car
Light Goods Vehicle <3.5T
Medium Goods Vehicle 3.5 - 12T
Heavy Goods Vehicle 12-15T
Very Heavy Goods Vehicle >25
Miscellaneous
Road Grader
Off Highway Truck
Roller/Compactor
Scraper
Stationary Large Engines >450KW
Stationary Small Engines <450KW
Track Loaders with bucket
Bulldozer
Wheeled Dozer
Wheeled Loader
Tractor
No Category
I am using Adobe Acrobat X Pro. I am familar with javascript but still would consider myself a beginner. I thought I had the correct Javascript but no luck. Any one able to provide me with steps & javascript for the above? TIA.
