EasyUI Forum
May 05, 2024, 08:00:25 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: BUTTON FOCUS  (Read 5307 times)
pedroc
Newbie
*
Posts: 17


View Profile
« on: June 18, 2015, 07:46:42 AM »

I NEED THAT BUTTON "btnLogin" SET THE FOCUS
<div id="btnLogin" style="text-align:right;padding:5px">
     <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitLogin()">Login</a>
</div>
Logged
sky_proj
Newbie
*
Posts: 24


View Profile
« Reply #1 on: June 18, 2015, 08:09:19 AM »

try this
$('#button').next().find('input').focus();
or
$('#button').focus();
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!