function test() { $.ajax({ url: '@Url.Action("drawInputs")', data: { QueryName: App.About.getValue() } }) .done(function (result) { $('#SomeDiv').html(result); }); }
<td>@(Html.X().ComboBox().ID("About").Editable(false) .ValueField("ID") .DisplayField("Name") .Store(Html.X().Store() .Model(Html.X().Model() .IDProperty("ID") .Fields( new ModelField("ID", ModelFieldType.String) { Mapping = "ID" }, new ModelField("Name", ModelFieldType.String) { Mapping = "Name" } ) ) .Proxy(Html.X().AjaxProxy() .Url(Url.Action("GetEXTParams")) .Reader(Html.X().JsonReader().RootProperty("data")) ) ) ) .Listeners(li => { li.Select.Handler = "test()"; }) )</td>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)