TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Raktimavo Mandal
NA
2
2.4k
how to populate a select dropdownlist using jQuery and Ajax
Aug 1 2014 4:33 AM
Hi,
I have 2 html dropdown lists labeled namely: Country and City , as given below:
(
Note: It has css class associated with it
)
<select id="Country" class="dropdown">
<option class="options"></option>
</select>
<select id="City" class="dropdown">
<option class="options"></option>
</select>
My Database is in SQL Server. And my development environment is Visual Studio 2010.
My database Details:
Table Name: Country_City
Table view:
Country
City
India
Mumbai
India
Hyderabad
USA
New york
USA
California
My objective:
I have to populate Country Dropdownlist from database using jquer-ajax call.Then on selecting a country the respective cities of that country should be visible in the "City" Dropdownlist.
Please provide the code for the same.
Thanks,
Reply
Answers (
1
)
crystal report
plz any one write code for to get age of a person in mvc4