Select list value of the disabled attrribute never set
Hello
I am newbie and this is my first post.
I am trying to set disabled attribute of a select list. Attribute is set but the value never set. This is my code.
- jQuery("select[id$=MultiPickList1]", this).attr('disabled', 'disabled');
This is the html
- <seclect disabled="" />
I do not know why the value is not set. And this is only for disabled attribute. If I change the attribute name then it set without problem.
- eg - jQuery("select[id$=MultiPickList1]", this).attr('attribute1', 'disabled');
- html - <seclect attribute1="disabled" />
Can someone please tell me why?
Thnax