EasyUI Forum
May 04, 2024, 01:23:15 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 change textbox label?  (Read 6234 times)
erkin
Newbie
*
Posts: 29


View Profile
« on: August 16, 2017, 02:07:25 AM »

Is it possible to set (change) textbox label after creating?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2262


View Profile Email
« Reply #1 on: August 16, 2017, 07:33:39 PM »

Call the 'label' method to get the label object and then modify its value.
Code:
var label = $('#t1').textbox('label');
label.html('New Value');
Logged
erkin
Newbie
*
Posts: 29


View Profile
« Reply #2 on: August 17, 2017, 01:49:08 AM »

Thank you, I did not find this method in the documentation.
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!