EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 16, 2024, 02:19:33 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 submit and lost focus
Pages: [
1
]
« previous
next »
Print
Author
Topic: Form submit and lost focus (Read 6349 times)
romach
Newbie
Posts: 6
Form submit and lost focus
«
on:
March 02, 2016, 01:34:19 AM »
I am using .form('submit') to sent data to server in background by timer. Current textbox input loses focus on .form('submit') when it is called by timer. Some investigation leads to
$(target).find('.textbox-text:focus').blur();
row in
jquery.form.js
. Can I change this behavior without disable this row?
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Form submit and lost focus
«
Reply #1 on:
March 02, 2016, 08:24:09 AM »
Try this code instead.
Code:
$(target).find('.textbox-text:focus').blur().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...