Maybe you are writing something wrong here.
Maybe you are writing something wrong here: $get(_dropdownID). AddClass('dropdownTextDisabled'); shuold be $('#_dropdownID'). AddClass('dropdownTextDisabled'); does it work in other browsers?
What is the variable $get you are calling the method addClass() on?
DropdownID is the ClientID of the textbox control. Even if I am using $('#' + _dropdownID). AddClass('dropdownTextDisabled'); this is giving me an error saying Object expected.
– smukh Jun 20 at 11:27 does your code work in other browser? Can you post the html Markup? – Nicola Peluchetti Jun 20 at 12:56 Yes the code with className worked in IE6,7.
Now, since its failing in IE8, I have to resolve it. – smukh Jun 20 at 13:54 But failing means that the class is not added or that you don't see the result of adding it to the textbox? – Nicola Peluchetti Jun 20 at 14:06 means that I don't see the result of adding the class to the textbox in IE8.
I mentioned it the beginning: "Earlier code was: dropdown. ClassName = "dropdownTextDisabled";". – smukh Jun 207 at 5:23.
$get is an ASP. NET AJAX shortcut which returns a DOM element, whereas addClass() is a jQuery function (which can only be used on jQuery objects). Try this instead: $('#').
AddClass('dropdownTextDisabled'); This is based on the assumption that _dropdownID is the ID of your ASP. NET DropDownList control. If _dropdownID is simply the ID of an HTML , do this: $('#_dropdownID').
AddClass('dropdownTextDisabled').
DropdownID is the ClientID itself. Also, $('#') is giving me an error. – smukh Jun 20 at 11:25 @S Mukherjee: Is your drop-down list an ASP.NET DropDownList or is it an HTML?
If it's the former, use its ID in place of _dropdownID. If it's the latter, I've updated my answer with the relevant code. – Town Jun 20 at 11:31 Well, actually it is a asp.
Net textbox which is given a look of dropdown by giving it a background image of an arrow. – smukh Jun 20 at 13:52 @S Mukherjee: Use the first syntax then, replacing _dropdownID with the ID of your TextBox control. – Town Jun 20 at 13:56 I did a quick alert($get("textbox1")) where the css class was assigned...it gave null.
So using only the textbox id won't help as it is inside a user control. – smukh Jun 207 at 5:29.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.