Hi Everyone,
i’m stuck on trying to do an ajax autocomplete.
The autocomplete script works here:
http://www.spanishproperty.es/ajax/autosuggest/
but not here:
http://spanishproperty.es/index.php?get_action=search_town
I can’t see why. Please help
They are not the same
The working page has
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
and is using the non-min version
jQuery JavaScript Library v1.3.2
The non-working page has
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
and near the bottom
<script src="http://www.spanishproperty.es/js/jquery.min.js"></script>
and has loaded these three (one non-min and two min)
jQuery JavaScript Library v1.3.2
jQuery v1.9.1
jQuery v2.0.3
So who knows which is being used?
Can you make the non-working page more like the working page? i.e.
comment out the 2 non-min script tags