I have a country listed as checkbox.While selecting multiple countries cities will be binded on another checkbox using jquery in mvc view.Kindly help.
I have 2 checkboxes(Countries & Cities) in Index.cshtml.Based on Countries multiple checked need to load Cities checkbox.
Ex: Country (India & Australlia)
Cities should bind as (Delhi,Mumbai,Kolkata,Kerala,Melbourne,Sydney,Perth) like that all cities under the countries should bind in Cities checbox.
Countries & Cities in my DB
What I have tried:
No idea to do it.kindly help to sort it out.