Quote:
Originally Posted by felgall
1. Combo boxes are a new addition in HTML 5. To get them to work web browsers that don't yet support it you need JavaScript to link the list part of the combo box to the input box part.
Or did you mean a select list where the user must enter one of the entries in the list and doesn't have the additional option of entering their own.
|
I mean when a list is selected, the sub of the list will be showed in bottom of the list.
just like example: when Operator is selected, the sub values of the Operator, the list of Location of Operator will be showed up.
If Administrator is selected, nothing will be changed because it dosn't have any sub values.
Quote:
|
2. Any changes you want to make based on a selection in one box (whether it is a combobox or a select liist) means you need to reload the page from the server with those changes applied. You would test the value of the first box when displaying the page in order to display the content appropriate to that selection. You might also use JavaScript to make the changes in place but you can't rely on that and so should have the PHP reload of the page set up to allow the update to happen when JavaScript isn't available.
|
Any code suggestion for me ?