Skip to Content
0
Former Member
Aug 17, 2009 at 11:42 AM

Disable dropdown Box

311 Views

Hi Experts,

I have the issue about Dropdown box disable. My requirement is i have one dropdown in my acreen and initially it should be in a disable mode. If user clicks the edit button, then the dropdown box will change to the Edit mode.

For disable the dropdown box there is no parameter available in HTMLB. so i serached in SDN and found th following thread.

disable-htmlb-dropdown-with-javascript

I tried dhurairaj code from the above thread using javascript. ts working the dropdown is disabled now but still user able to select the data's from dropdown box.

But for my requirement if the dropdown is disable mode it should allow user's to select the values from on it. Im using MVC and can anybody help me on this?

Your helps will be appreciated,

Thanks in Advance.