Click here to Skip to main content
15,352,488 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Dear All,

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

Regards
Sreejith

What I have tried:

No idea to do it.kindly help to sort it out.
Posted
Updated 27-Apr-22 0:38am
v2
Comments
Richard Deeming 27-Apr-22 5:30am
   
Nobody here is going to do your work for you, even if you had provided a proper specification for it.

Click the green "Improve question" link and update your question to include a clear and complete description of what you are trying to do, the relevant parts of your code, the full details of any errors, and precisely what you have tried and where you are stuck.

If you're expecting someone to write the code for you, then you've come to the wrong site.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900