I’ve the following problem. I used to have an input with auto-completion, I removed this just recently from the field (as it was no longer necassery).
The field is 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 another auto-completion field which gets filled with information about 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 is as follows: some users get the auto-complete on the first (title) input field. I’m thinking it’s a cache problem as removing the cache solves the problem. Can I force with php or js to flush the cache before the field is loaded? Removing all caches is not really beneficial to the site so I’m hoping I just could remove the caching of these fields.
It seems an update of a more recent version of jquery ui has solved the problem. Thanks all!