Home › Forums › Feature Requests › Debounce keyup AJAX calls › Reply To: Debounce keyup AJAX calls
It does abort the request from the front end’s perspective but the server will still process each of the admin-ajax.php calls. If you put in a debugger breakpoint at the end of the ‘get_choices’ method and then type in a several character search term, it will hit that break point for every character typed even though they were aborted from the browser.
Once the call to the server is initiated, xhr.abort() will only tell the browser to not wait for a response. The server will still process the initial request.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.