php - remove autocomplete from cache results -


i've following problem. used have input auto-completion, removed field (as no longer necassery).

the field now: <input type="text" class="required text motivationname valid" maxlength="30" onblur="isdoublemotivation(this.value);" value="" id="title" name="title"> nothing special right?

i've auto-completion field gets filled information cities.

var elements = $('input.auto_plaatsnaam');     elements.each(function() {         $(this).autocomplete( {             datatype: "json",             source: "/common/ajax/citysearch.php",             minlength: 1,             cache: false,             delay: 100         });     }); 

the problem follows: users auto-complete on first (title) input field. i'm thinking it's cache problem removing cache solves problem. can force php or js flush cache before field loaded? removing caches not beneficial site i'm hoping remove caching of these fields.

it seems update of more recent version of jquery ui has solved problem. all!


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -