User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,604 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,649 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

drop down list in text box using ajax

Join Date: May 2008
Posts: 1
Reputation: camspiers is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
camspiers camspiers is offline Offline
Newbie Poster

Re: drop down list in text box using ajax

  #4  
May 22nd, 2008
Hi,
I'm not sure if this is what you want, but it sounds like it.
I just wrote it yesterday.
nzlocations.sql has a whole bunch of New Zealand Cities in it, helpful data to see the drop down working.
You need php to use this code.
You will need to configure the database connection section of ajax.php.
Once done open the file dropdown.php in browser.
This is rough and insecure (ajax.php) but is only written as an example.
Cheers.
Attached Files
File Type: zip AJAX DropDown.zip (30.9 KB, 19 views)
Reply With Quote  
All times are GMT -4. The time now is 11:54 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC