>Hi to all,
>
>I need to put 2 combo boxes in a HTML page so that the values of the second one depend on the selection made on the first one. How can I do this?
2 solutions here:
1-Client side script
If you have a limited set of data, you can place all your logic in your HTML page and code with JavaScript.
2-Server side script
If you have lots of data or the logic behind it is difficult to implement in client side script, when a user select something in the 1st combo, post the form and use server side script to fill the second combo. The downside here is that there's a server request each time a selection is made in the 1st combo.