I have a select box which contains the options and optgroup that are generated dynamically using php.Now when I select \"ALL\" all the other optgroup
optgroup
You can use two variations on the syntax for the disabled attribute, depending on the version of HTML you are targeting:
HTML4: Spider XHTML: Spider