EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 10, 2024, 09:02:08 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
how to control numberbox what to focus next after pressing enter key
Pages: [
1
]
« previous
next »
Print
Author
Topic: how to control numberbox what to focus next after pressing enter key (Read 4213 times)
karogel
Newbie
Posts: 28
how to control numberbox what to focus next after pressing enter key
«
on:
August 14, 2016, 06:22:42 PM »
Hi im trying to control what numberbox to focus after keypress, like this code:
$('#app_charge1').numberbox('textbox').bind('keypress',function(e){
if(e.keyCode==13)
{
$('#app_charge2').numberbox.focus();
}
});
«
Last Edit: August 14, 2016, 06:43:22 PM by karogel
»
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: how to control numberbox what to focus next after pressing enter key
«
Reply #1 on:
August 14, 2016, 07:38:27 PM »
Please try this code:
Code:
$('#app_charge2').numberbox('textbox').focus();
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...