使用jQuery在MVC应用Ajax和JSON [英] Using jquery with ajax and json in MVC application
问题描述
我开发MVC应用程序(使用MVC 4测试版)。
I am developing an MVC application (using MVC 4 beta).
我希望我的网站能够响应类似于谷歌的应用程序将立即无刷新页面显示和快速的显示数据。
I want my site to be responsive similar to google apps which immediately show data with no page refresh showing and quick.
我要寻找的地方数据使用从jQuery Ajax调用和使用JSON发送数据保存到数据库中一个很好的例子。
I am looking for a good example where data is saved to the database using ajax calls from the jquery and sending data using json.
有关的任何例子将是巨大的,让我的头周围
any example relevant would be great to get my head around it
感谢
推荐答案
有几十个例子这种规范的情况。
There are dozens of examples for this canonical scenario.
两个只是一个例子,开始有:
Just an example of two to begin with:
-
<一个href=\"http://www.tugberkugurlu.com/archive/working-with-jquery-ajax-api-on-asp-net-mvc-3-0-power-of-json-jquery-and-asp-net-mvc-partial-views\">http://www.tugberkugurlu.com/archive/working-with-jquery-ajax-api-on-asp-net-mvc-3-0-power-of-json-jquery-and-asp-net-mvc-partial-views
<一个href=\"http://shashankshetty.word$p$pss.com/2009/03/04/using-jsonresult-with-jquery-in-aspnet-mvc/\">http://shashankshetty.word$p$pss.com/2009/03/04/using-jsonresult-with-jquery-in-aspnet-mvc/
这篇关于使用jQuery在MVC应用Ajax和JSON的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!