473,383 Members | 1,997 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,383 software developers and data experts.

items in aselect change in function on which item is selected in another select: how can i do that?

Thank you for readin my post!
I have two select (select1 and select2).
in select1 I have items: a,b,c,d
In select2 I should have
items a1,a2,a3 if I chose a in select1,
items b1,b2,b3 if I chose b in select1,
items c1.... if I chose c in selec1,
....

How can I do that?
Thank you in advance for the time you'll spend for me,
Mario.
Jul 23 '05 #1
2 1044
_andrea.l wrote:
Thank you for readin my post!
I have two select (select1 and select2).
in select1 I have items: a,b,c,d
In select2 I should have
items a1,a2,a3 if I chose a in select1,
items b1,b2,b3 if I chose b in select1,
items c1.... if I chose c in selec1,
...


Search the newsgroup for "dynamic option list" and browse:

<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>
--
Rob
Jul 23 '05 #2
The solution I have found (or other said to me :-P
are:

http://www.webreference.com/programm...chap8/2/7.html
<URL:http://www.mattkruse.com/javascript/dynamicoptionlist/>


Thak you to all!
Jul 23 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: bbutell | last post by:
I add items to a list of ids within a <TD> named lstCarts using the following code: function lstCarts_ondblclick() { index = NewProgram.lstCarts.selectedIndex; if (index != -1) { vID =...
8
by: tshad | last post by:
I have a string that I read from my database: 1|8|5620|541 These are all values in my ListBox. I want to select each of these items (4 of them - but could be many more). At the moment I am...
3
by: Iain | last post by:
Hi All I have 2 DropDownList boxes on a page. The first (id= "Operation") is populated on PageLoad with the contents of a database table. The second id="WorkStations" will not be populated...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: 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...

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.