This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes HTML select tag disabling particular elements? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "HTML select tag disabling particular elements?" Watch "HTML select tag disabling particular elements?" New topic
Author

HTML select tag disabling particular elements?

Rohit Nath
Ranch Hand

Joined: Jun 16, 2006
Posts: 387
Hi,
I am using the HTML select tag with multiple="multiple" to allow multiple selection. I need to disable the second element. I am able to enable/disable the complete multiselect box but I need to enable particular element. Any idea how we can do that? Need help urgently.

Thanks in Advance!
Rohit


R.N
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Is it ever going to be able to be selected? You probably will have to code some JavaScript with onchange. If it is picked you unselect it.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HTML select tag disabling particular elements?
 
Similar Threads
how to get the selected value from a drop down to action
html:link disable
Multiple selection in drop down list
how to validate
disabling or enabling a link