By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,793 Members | 1,546 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,793 IT Pros & Developers. It's quick & easy.

Onchange function help

P: 1
Hi all,
I'm after some guidance for a friend of a friend so to speak, JavaScript isn't my thing so i can't help but i'm hoping someone can. The email i recieved is as follows;

I have a drop down list and need to know where to put the function, along with what variable to load.

Here’s the data base:
URL.Param variables= Manufacturer


So, the first box contains all the manufacturers, second box model, third spec, forth extras. When a user selects, for example, Honda, the first box will execute the onchange function and load the variable into the second box (model), so the user can then select the corresponding model for Honda, then, the second box executes the onchange and loads the spec of selected model into the third drop down box, etc etc.

So here’s the first box’s code:
Expand|Select|Wrap|Line Numbers
  1. <select name="make 2" id="make 2">
  2.       <option value="--please select--">--please select--</option>
  3.       <cfoutput query="rsManufacturer">
  4.         <option value="#rsManufacturer.manufacturer#">#rsManufacturer.manufacturer#</option>
  6.       </cfoutput>
  7.     </select>
But would also need to carry the variables across into the second and third boxes etc.

Can any one offer some help?
Thanks in advance.
Oct 10 '08 #1
Share this Question
Share on Google+
1 Reply

P: 44
This site should be helpful in figuring it out
Oct 10 '08 #2

Post your reply

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