Please help me in drop down list to connect each other

You will need to do this in code.
Save the items in a database or in some variable on the page if it is not much, then add a function after changing the first to filter the items for the second.

and then place them in the code as well. so