I have 3 select option that load values depending on each other
My first select is
Continent it has the value of continent on load second select is
Country this select will be loaded on change of continent then last select is
City this will be loaded on change of country it works fine
Currently because of the onchange event of the the select statement when i load data in the select from database it is not showing the correct data because the one that it is showing is the data when the on change event.
My question is how do i stop the onchange event of the 3 select option so that i can load data from database i was thinking that stopping the onchange is the best way to load data from database. If there are any other option to load data on these select i will gladly try it.