I'm trying on document.ready to call:
But it doesn't works, the class gets added to an input shown below, but not to the actual dropdownlist, so it's not displaying the new styles :
How can I add a css class or remove it from an existing dropdownlist or any other kendo widget?
Thanks in advance.
$(
"#ID_Comercial"
).addClass(
'mandatory'
);
<
input
id
=
"ID_Comercial"
class
=
"mandatory"
type
=
"text"
style
=
"width: 200px; display: none;"
name
=
"ID_Comercial"
data-role
=
"dropdownlist"
>
Thanks in advance.