Hi,
I’ve a button which contains icon & label. I achieved it using CSS class name. Lets say “Add User” and it will be like plus symbol & label as follows,
<input type="button" value="Add User" id="addUser" name="addUser" class="icon-add" />
Output:
+ Add User
There are cases where I disable the button when page loads and enable it after some logic condition satisfied. When I disable the button, whatever the custom class name given is getting removed. I noticed that there are new class names added for disable styling. I tried the following approach but it didn’t helped me
For example:
$("#addUser").jqxButton({disabled:true);
$("#addUser").addClass("icon-add");
Can someone help me how to achieve?
Looking for swift response.
Regards,
Raj