ASP.NET MVCビューで、JQuery の$.getJSONまたはを使用してモデルにデータを入力する構文は何$.ajaxですか?
MVC コード ビハインドは C# で記述されています。
MVC ビューの場合、次のようなものがありますか? -
@model MyModel $.getJSON('@Url.Action("MyAction","MyController")/', function (dataReturned) { @model = dataReturned //put the data that is returned into the Model }