Forgive me if a stupid question but . . .
I have
[HTML]<ul>
<li id='menu1'>MENU ONE</li>
<li id='menu2'>MENU TWIO</li>
<li id='menu3'>MENU ONE</li>
....... etc....
</ul>[/HTML]
and some Javascript
Expand|Select|Wrap|Line Numbers
- function updateMenu(item) {
- menuID="menu" + document.theform.which.value;
- document.getElementById(menuID).value=item.value;
- }
item.value is also good text
What is wrong ???