This is a discussion on When using a drop down menu, how do I store the value selected in a variable? within the C# Programming forums, part of the Software Development category; When using a drop down menu, how do I store the value selected in a variable?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| <script language="JavaScript"><!-- var result = null; //--></script> <form> <select onChange="result = this[this.selectedIndex].value"> <option VALUE="1">One <option VALUE="2">Two </select> </form> |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to Populate menu using sitemap and asp .net menu control and c#: | Archer | C# Programming | 3 | 04-29-2008 09:23 PM |
| Why do the menu items drop behind some HTML elements.? | Pvinothkumar | HTML, CSS and Javascript Coding Techniques | 1 | 09-13-2007 05:03 AM |
| double clicking the option in drop down list menu | vijayanand | HTML, CSS and Javascript Coding Techniques | 3 | 08-06-2007 06:27 AM |
| Static Global Variable and Static Local Variable | vigneshgets | C and C++ Programming | 1 | 05-30-2007 10:50 AM |
| Vertical menu or horizontal menu? | capture | Web Design Help | 1 | 03-12-2007 06:25 PM |