MVC - Using Ajax to render partial view

前端 未结 3 1214
误落风尘
误落风尘 2020-12-15 10:10

I have this markup in an MVC app.

<% Recipe recipe = (Recipe)Model; %> <% Html.RenderPartial(\"Ingredie
3条回答
  •  忘掉有多难
    2020-12-15 10:18

    Might be worth ensuring that you have correctly referenced the ajaxmvc and jquery scripts in your page (master page). If these are incorrect a new page will be displayed instead of the correct output in the target div.

提交回复
热议问题