Problem:
I am trying to speed up the search of my view, and am wondering if it is possible to implement such a jQuery snippet of code to tell the database to begin searching through the database as soon as a user leaves the input field.
Solution:
There isn't such kind of built-in feature within Toolset plugins, you might consider custom codes, for example, when event "onfocusout" is triggered, you can submit the search form with jQuery submit(), see jQuery document:
https://api.jquery.com/submit/
Relevant Documentation:
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Asia/Hong_Kong (GMT+08:00)
This topic contains 4 replies, has 2 voices.
Last updated by 2 years, 9 months ago.
Assisted by: Luo Yang.