EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: aswzen on September 10, 2014, 04:56:28 AM



Title: [TextBox with Button] but with different option for each element. Is it pssible?
Post by: aswzen on September 10, 2014, 04:56:28 AM
Based on this demo http://www.jeasyui.com/easyui/demo/textbox/button.html

Is it possible to make a TextBox with Button that the textbox appear as readonly but the button still clickable?

Thanks in advanc...


Title: Re: [TextBox with Button] but with different option for each element. Is it pssible?
Post by: stworthy on September 10, 2014, 06:34:00 AM
Please set the 'editable' property to false.
Code:
$('#tb').textbox({
  editable: false
});


Title: Re: [TextBox with Button] but with different option for each element. Is it pssible?
Post by: aswzen on September 10, 2014, 11:08:24 PM
thanks..i think i have to read the documentation carefully