Question : Two instances of AutoSuggest? Is it possible?

This is what is happening

http://www.mindfulldesigns.com/autosuggest/autosuggest_city.php
http://www.mindfulldesigns.com/autosuggest/autosuggest_zip.php

These AutoSuggest work well separately, but when you combine them with the SpryTabbed Menu it acts funny.

http://www.mindfulldesigns.com/autosuggest/ (index.html file)

Type the ZIP (75088) in the ZIP code tab and see the results popup on the Texas City tab.

These are the working files for CITY AutoSuggest:
http://www.mindfulldesigns.com/autosuggest/autosuggest_city.php
http://www.mindfulldesigns.com/autosuggest/ajax_framework_city.js
http://www.mindfulldesigns.com/autosuggest/search_city.php


These are the working files for ZIP AutoSuggest:
http://www.mindfulldesigns.com/autosuggest/autosuggest_zip.php
http://www.mindfulldesigns.com/autosuggest/ajax_framework_zip.js
http://www.mindfulldesigns.com/autosuggest/search_zip.php

Answer : Two instances of AutoSuggest? Is it possible?

Duplicate method names in each PHP file, perhaps? Or something stepping on a variable? Hard to say for sure, but that could explain the odd behavior...
Random Solutions  
 
programming4us programming4us