EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
September 14, 2025, 01:09:24 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 can i call an action on an "textbox" if the user press "Enter"?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How can i call an action on an "textbox" if the user press "Enter"? (Read 6984 times)
Stefan B.
Full Member
Posts: 152
Software Architekt
How can i call an action on an "textbox" if the user press "Enter"?
«
on:
October 31, 2014, 08:11:54 AM »
On "Combo" is an key handler defined.
But why not on an "textbox"?
How can i call an action on an "textbox" if the user press "Enter"?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: How can i call an action on an "textbox" if the user press "Enter"?
«
Reply #1 on:
October 31, 2014, 09:16:25 AM »
You can call 'textbox' method to get the inputing box and bind any events on it.
Code:
$('#tt').textbox('textbox').bind('keydown', function(e){
//...
});
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...