9
Asp.net mvc में नियंत्रक के लिए एक साधारण अजाक्स कॉल करना
मैं ASP.NET MVC Ajax कॉल के साथ आरंभ करने का प्रयास कर रहा हूं। नियंत्रक: public class AjaxTestController : Controller { // // GET: /AjaxTest/ public ActionResult Index() { return View(); } public ActionResult FirstAjax() { return Json("chamara", JsonRequestBehavior.AllowGet); } } राय: <head runat="server"> <title>FirstAjax</title> <script src="http://code.jquery.com/jquery-1.9.1.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"></script> <script …