Browse by Tags

All Tags » Json (RSS)

Fill a Select/Option from Json with jQuery by jdanforth

More jQuery and Json… To fill a listbox (select) with items from a Json call. I got this helper class to handle the options/items: public class SelectOption { public String Value { get ; set ; } public String Text { get ; set ; } } A sample action/method...
Filed under: , ,

Json, jQuery and ASP.NET MVC by jdanforth

I’m stacking a few things here related to Json, jQuery and ASP.NET MVC so that I can get to them later on. JQuery to grab some Json when a web page is loaded: $(document).ready( function () { $.getJSON( "/MyController/MyJsonAction" , null ,...
Filed under: , ,
More Posts