EasyUI Forum
April 28, 2024, 02:39:47 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to apply custom class to textbox label?  (Read 890 times)
poeziafree
Jr. Member
**
Posts: 69


View Profile Email
« 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.
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 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');
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!