EasyUI Forum
May 31, 2024, 03:43:12 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: avoid focus on textbox, numberbox... etc  (Read 2028 times)
roberto
Jr. Member
**
Posts: 88


View Profile Email
« on: February 12, 2022, 10:52:54 AM »

how to prevent textbox from being focused when tab key is pressed?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 on: February 14, 2022, 06:49:17 PM »

Please set the 'tabindex' with '-1' for the textbox component.
Code:
<input class="easyui-textbox" label="First Name:" labelPosition="top" tabindex="-1" style="width:100%;">
Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: February 14, 2022, 07:56:01 PM »

so simple! thank you so much!
it worked for textbox, numberbox... but not for checkbox and radiobutton
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!