473,406 Members | 2,867 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Need For Similar Linked Select Boxes

Check out http://trade-in-value.com/

I am interested in locating Ajax code similar to this so that I can link together a few different select boxes and dynamically query a mySQL db as I need to populate others ...

Any ideas on something that might already exist?
Mar 7 '07 #1
5 2147
AricC
1,892 Expert 1GB
Check out http://trade-in-value.com/

I am interested in locating Ajax code similar to this so that I can link together a few different select boxes and dynamically query a mySQL db as I need to populate others ...

Any ideas on something that might already exist?
How much do you know about AJAX? Here is the W3 Schools tutorial. There are a lot of examples on the web have you tried googling?
Mar 8 '07 #2
acoder
16,027 Expert Mod 8TB
Check out http://trade-in-value.com/

I am interested in locating Ajax code similar to this so that I can link together a few different select boxes and dynamically query a mySQL db as I need to populate others ...

Any ideas on something that might already exist?
The site that you have shown uses three different files (Year.aspx, Make.aspx and Model.aspx) to gather the data for the select boxes. Just call the same code for the different boxes, but either different urls or different parameters. The bulk of the work is on the server-side (PHP, I presume) and dealing with the response.

If you are unsure about AJAX, check the AJAX links on the sticky (Offsite Links) at the top of this board.
Mar 8 '07 #3
I have googled and checked out the W3 school ... but cannot seem to find a way to make select box #3 dependant on what is already in select box #1 and select box #2. I can get #1 and #2 to work perfectly, but I have no way of getting those two values to help calculate what should be shown in select box #3. Thats where I am stuck.
Mar 8 '07 #4
acoder
16,027 Expert Mod 8TB
That should be easy, though I haven't tried it.

Set the onchange event handler on the second list as you have for the first list. It should pass the value from both lists or one list (depending on how you have set up your database). Basically, pass whatever is required to get the values.

If you want to work with a framework, here is an example.
Mar 8 '07 #5
That framework should work ... I just have to look through it and try to understand it. Thanks!
Mar 8 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC...
0
by: Chris Powell | last post by:
I am using Excel/Access 2000 and have two large Excel files (25,000 rows each) that I wish to create linked tables in Access rather than importing into Access. The two source Excel files change...
2
by: Robert McGregor | last post by:
Hi all, I've got a Front End / Back End database that was working just fine. One day i opened the FE to find that if I tried to open one of the linked tables from the database window, nothing...
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
4
by: steves | last post by:
Hello All, I am trying to link to an existing database and extend the funcitonality by adding a phone call logging extension, so you can see a list of phone calls for a given customer. There...
9
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result...
4
by: alvinstraight38 | last post by:
Hey guys, I am trying to import data from an Excel spreadsheet into my SQL database. I am running SQL 2005. I following Microsoft's instructions for creating a linked server, and it appeared...
5
by: agarwasa2008 | last post by:
Hi, I have a linked table called tbltest and some bounded forms (which add, update, delete records) that were created using that linked table. For some necessary reasons I had to create another...
2
by: mturner64 | last post by:
Good Day! I am fairly new to asp.net. I am using Microsoft VWD 2008 express edition. I have linked an Access 2007 database to my asp.net application using a gridview control. On the webpage are...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.