EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: poeziafree on February 05, 2023, 12:46:23 AM



Title: How to apply custom class to textbox label?
Post by: poeziafree on February 05, 2023, 12:46:23 AM
Hello,

Is it possible to apply custom div class to component label?

labelCls or something similar available?

Thanks.


Title: Re: How to apply custom class to textbox label?
Post by: jarry on February 06, 2023, 02:31:26 AM
Call the 'label' method and do something on it.
Code:
var lbl = $('#t1').textbox('label');
lbl.addClass('label1');