Category Archives: Ajax

How to pass model from view to controller using jQuery

This article will show you how to pass model from view to controller using jQuery. Using the submit button we can do it easily, jQuery use to pass elements as well as we can submit a form using jQuery. Here … Continue reading

Posted in Ajax, jQuery, MVC | Tagged , | 3 Comments

Ajax webgrid with paging and sorting in MVC

This articale will show you Ajax paging and sorting in webgrid. basic difference between normal webgrid and ajax grid is ajaxUpdateContainerId: “grid” just maintain grid id or grid container ID “gridContent” in this attribute. Here is code Now in the same grid … Continue reading

Posted in Ajax, ASP.NET MVC Web Grid, MVC | Tagged , , | 1 Comment

JQuery Ajax Basics

This example give you basic ajax call in MVC deom. $.ajax({     type: ‘Get’,     url: ‘ControllerName/MethodName’,     data: { Parameter1: ‘12345′, Parameter2: ‘12345′ },     async: false,     dataType: “html”,     success: function (signature) {          if (signature != ”){             … Continue reading

Posted in Ajax, jQuery | Tagged , | Leave a comment

ASP.NET MVC Ajax Call to controller method

In ASP.NET MVC . $.ajax({     type: ‘Get’, // Get or Postmethod     url: ‘ControllerName/MethodName’, // ds is controller and getData is method     data: { Parameter1: ‘12345’, Parameter2: ‘12345’ },     async: false, // default its true     dataType: “html”,  //xml, Json, HTML … Continue reading

Posted in Ajax, jQuery, MVC | Tagged , , | Leave a comment

jQuery Ajax function with basic element.

This example give you basic ajax call in MVC deom. $.ajax({     type: ‘Get’, // Get or Postmethod     url: ‘ControllerName/MethodName’, // ds is controller and getData is method     data: { Parameter1: ‘12345’, Parameter2: ‘12345’ },     async: false, // … Continue reading

Posted in Ajax, jQuery | Tagged , | Leave a comment

AJAX

AJAX = Asynchronous JavaScript and XML. AJAX is not a new programming language, but a new way to use existing standards. AJAX is the art of exchanging data with a server, and update parts of a web page – without … Continue reading

Posted in Ajax, jQuery | Tagged , | Leave a comment

Jquery Ajax loading image

   $(document).ready(function () {         $(“#loadingDiv”).hide();         $(‘#loadingDiv’)            .ajaxStart(function () {            (this).show();            })            .ajaxStop(function () {            $(this).hide();            });         }); <div class=”modalTabelGray” id=”loadingDiv” style=”height: 749px; display: block;”> .modalTabelGray {     background-color: #7E7E7E;     height: … Continue reading

Posted in Ajax, jQuery | Tagged , | 2 Comments