How to ajax load a parent-child listbox in JQuery/Asp.net MVC popup?
- by melaos
hi guys,
i'm new to the asp.net mvc.
and i have a link which will popup show a 3 panes listbox which allows the user to select country, region and language.
and when the user click on the language, this will redirect back to the controller and refresh the page and show the proper localized content.
i was thinking of using a jquery dialog/modal to do this but so i try using fancybox for this which will load the hidden div of the three listbox up.
unfortunately, on clicking on the first listbox, the page will call a jquery event which will show the populate the 2nd list box in which the lightbox will close.
is there a better way to do this? or i'm not using the proper jquery plugin?
i was thinking of putting the whole three panes inside a html file and do ajax call to get the content into that page and load the listbox like that and just use the html popup like a normal popup.
Any suggestions?
i'm stuck, help!!