EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: erkin on August 16, 2017, 02:07:25 AM



Title: How to change textbox label?
Post by: erkin on August 16, 2017, 02:07:25 AM
Is it possible to set (change) textbox label after creating?


Title: Re: How to change textbox label?
Post by: jarry 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');


Title: Re: How to change textbox label?
Post by: erkin on August 17, 2017, 01:49:08 AM
Thank you, I did not find this method in the documentation.