EasyUI Forum
July 02, 2024, 09:59:45 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [TextBox with Button] but with different option for each element. Is it pssible?  (Read 6459 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« 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...
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: September 10, 2014, 06:34:00 AM »

Please set the 'editable' property to false.
Code:
$('#tb').textbox({
  editable: false
});
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #2 on: September 10, 2014, 11:08:24 PM »

thanks..i think i have to read the documentation carefully
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
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!