Monthly Archives: December 2012

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

Digital Signature using jQuery

Digital Signature using jQuery Digital Signature control is based on jSignature jQuery plug-in. This plug-in creates field that allows a user to draw a signature either via a mouse, your finger on touch enabled devices or a pen input device. … Continue reading

Posted in jQuery, MVC | 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

Protect your page from Copy, Paste, Cut, Drag, Select

Using Jquery you can protect your page from copy past, drag, image select and it’s also compatible with all browse. (IE. Firefox, Chrome) Add this script in $(function (){ }); or $(document).ready(function() { }); It also disables right-click so that … Continue reading

Posted in jQuery | Tagged | Leave a comment