I want to change my second drop values when first drop down value changes. How to do that? I use php query to give values to drop down. go to http://ksm.allalla.com in that you can see one search form. i want to do that in that form
You need to implement JavaScript code and have it to do something like:
<SELECT NAME="firstDropdown" ONCHANGE="dropdownChanged()">
...
</SELECT>
And have the function dropdownChanged
do the repopulating (change its values) of the data of secondDropdown
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.