I made online drawing for electronics layout editing and used html form select tag to pick the component to draw.
<label>Electronics component - <select id="chose">
<option value="resistor">Resistor</option>
<option value="pot">Potentiomenter</option>
<option value="cap">Capacitor</option>
....and so on
As the script growing, I need a html menu for easier component choosing, but I can't implement the getelementsbytagname('li') to call for chosen component.
You can see it at: http://www.3lectronics.com/electronics-layout/Atarado-Draw1.html and figure what I'm talking about. I already browsed similar issues and didn't find the appropriate answer.
Please help.