Click here to Skip to main content
15,399,574 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:

Based on the dropdown list selected text, i want to change the display mode of a textbox. If the selected text is "New", change the textbox display mode as "display:block" , else "display:none".

Please give me the javascript code.

Thanks in advance.
Updated 4-Jul-10 20:12pm

1 solution

Have a look at this answer:[^]

Implement something similar, just use dropdown 'onchage' event in your code instead of treenode click.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900