EasyUI Forum
September 13, 2025, 02:22:13 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: Textbox Set Focus  (Read 11818 times)
arma
Full Member
***
Posts: 110


View Profile
« on: November 08, 2015, 03:40:10 AM »

Hi,

I could not find a method to set focus to a textbox in the documentation, is there a way $('#tt').textbox('focus') ?

Thanks.

Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: November 08, 2015, 03:45:39 AM »

Please try this:
Code:
$('#tt').textbox('textbox').focus();
Logged
arma
Full Member
***
Posts: 110


View Profile
« Reply #2 on: November 08, 2015, 03:50:32 AM »

Ah the method textbox is confusing so i missed to read this part "Return the textbox object. The user can bind any events to this editing box."

I guess the method name should be getTextbox()  Grin

Thanks.
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!