EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 21, 2024, 11:14: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
>
General Discussion
>
Form loosing Focus when Alert messenger appear
Pages: [
1
]
« previous
next »
Print
Author
Topic: Form loosing Focus when Alert messenger appear (Read 4901 times)
Rakesh
Newbie
Posts: 9
Form loosing Focus when Alert messenger appear
«
on:
December 09, 2016, 03:20:10 AM »
Hello,
The cursor present in the form field disappears when an $.messager.alert appears.
How to get back the focus to the last input field ?
Please help me out as i am handling complex form with lots of input fields and the user cant use mouse often.
Thanks in advance
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Form loosing Focus when Alert messenger appear
«
Reply #1 on:
December 10, 2016, 05:38:13 AM »
You should remember the last inputing box when lose focus, and then set focus to it after close the alert dialog. Another way to solve this issue is to call $.messager.show instead of $.messager.alert.
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...