EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 10:45:12 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 add focus event on searchbox?
Pages: [
1
]
« previous
next »
Print
Author
Topic: How to add focus event on searchbox? (Read 7082 times)
aboboo
Newbie
Posts: 15
How to add focus event on searchbox?
«
on:
January 29, 2015, 08:24:50 PM »
How to add event on searchbox, such as click, focus, blur...
«
Last Edit: January 29, 2015, 08:28:18 PM by aboboo
»
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: How to add focus event on searchbox?
«
Reply #1 on:
January 30, 2015, 06:15:55 AM »
The simple way to achieve this is to get the input box and then bind any events on it.
Code:
$('#ss').searchbox('textbox').bind('click',function(e){
//...
});
Logged
aboboo
Newbie
Posts: 15
Re: How to add focus event on searchbox?
«
Reply #2 on:
February 01, 2015, 06:19:33 PM »
thank you !
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...