Is it possible to bind data asynchronously between two dropdownlists in a view?
Posted
by user252160
on Stack Overflow
See other posts from Stack Overflow
or by user252160
Published on 2010-03-23T15:05:09Z
Indexed on
2010/03/23
18:13 UTC
Read the original article
Hit count: 320
I'd like to achieve the following effect using ASP.NET MVC and JQuery.
I've got a drop down list displaying a list of Countries. I want to make it so that when I change the value of the country, a new drop down list appears below it, showing a list of companies whose country of origin is the particular selected company. The thing is that I do not want to rely too much on controller actions because I'm using it in a Template Helper which is a "headless" view. Can I bind it somehow?
© Stack Overflow or respective owner