I define a css class for label . In one of the scenario I want to remove my css class from label. can you give some sample code for this one.
example :-- global_root.$$(‘Name’).define(‘css’, ‘t02’)
I define a css class for label . In one of the scenario I want to remove my css class from label. can you give some sample code for this one.
example :-- global_root.$$(‘Name’).define(‘css’, ‘t02’)
instead of defined(); if I use the addCss method .then its give some error message.
Message: Object doesn’t support property or method ‘addCss’ same thing happened when I use removeCss also.
Check the above snippet, the same code work there.
Are you using the same js code ?
if in above code if i change the view:“text” then its not working.for text box how to remove the css .can you please suggest something. because that is my requirement.
Is there also away to check if a css class is used before trying to remove it?