TTA wiki TTA wiki - 1 year ago 179
Javascript Question

jquery autocomplete delay not working

I have this in my autocomplete code.

Delay and minlength options are not working for me in Jquery Autocomplete

I tried putting sleep too in search function. even thats not working

What I am seeing on interface 1) "getTags" call getting executed even for 1/2 charactors and 2) Calls are being made instantaneously no delay whatsoever.

Please help

delay: 10000,
serviceUrl: "getTags",
minLength: 3,
search: function( event, ui ) {
console.log("Searching for",event)

Answer Source

Try replacing service URL with source and created codepen for reference -

Source :"getTags"

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download