Webboy2008
asked on
javascript / classic asp
I have a list of city from the sql database. now it is sorted by city name and list on the dropdown.
Since the city list is too long. I would like have url <a href=viewallcities.asp>Vie w all</a>
and list on the webpage like in 4 columns table.
Is that possible? Or you have other good ideas?
Thanks,
Since the city list is too long. I would like have url <a href=viewallcities.asp>Vie
and list on the webpage like in 4 columns table.
Is that possible? Or you have other good ideas?
Thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If the problem you have here is not for showing the data, but for loading all of them into a dropdownlist (as I think I'm understanding), probably your best option is to implement an autocomplete field. This way you have a textbox and a dropdownlist, the dropdownlist is empty at the beginning, but when you start typing on your textbox you send AJAX calls to your server querying your data and returning to the dropdownlist the filtered set of values. Also, if you use jQuery, there is a great autocomplete addon easy and intuitive: http://jqueryui.com/demos/autocomplete/