Tag:ajax

  • Talk about the implementation process of Ajax principle

    Time:2020-11-21

    1. What is Ajax? Ajax, fully known as “asynchronous JavaScript and XML”, is a web development technology to create interactive web applications. It uses: Use XHTML + CSS to standardize rendering;XML and XSLT are used for data exchange and related operations;Use XMLHttpRequest object to communicate with web server asynchronously;Use JavaScript to operate document object model […]

  • asp.net +Ajax simple paging example analysis

    Time:2020-11-12

    In this paper, an example is given asp.net +Ajax simple pagination implementation method. For your reference, the details are as follows: There are two. ASPX files involved, one called Default.aspx One called AjaxOperations.aspx The first is used to display some test data, and the second is used to process paging. There is another one under […]

  • Detailed explanation of ajax data transmission mode

    Time:2020-11-11

    This paper describes the ajax data transmission mode. For your reference, the details are as follows: When sending and receiving information in asynchronous applications, plain text and XML are commonly used as data formats《Detailed explanation of Ajax usage examples in jQuery learning notes》)Now there is a more popular way: JSON (JavaScript object notation). Well, the […]

  • Implementation of simple search based on AJAX

    Time:2020-11-10

    This paper describes a simple search method based on Ajax. For your reference, the details are as follows: Two. ASPX files are used here, one called Default.aspx One called AjaxOperations.aspx The first is used to enter search data, and the second is used to process search keywords. There is another one under the JS folder […]

  • Solution to ie cache problem in Ajax call

    Time:2020-11-9

    This paper analyzes the solution of ie cache problem in Ajax call. For your reference, the details are as follows: The problem found in the process of Ajax request call: the background request is a simple. ASPX file, and this page does not consider the impact of cache. When debugging with Ajax, it is found […]

  • Summary of cross domain access of Ajax and jsonp

    Time:2020-11-8

    ####Ajax of JavaScript AJAX is “asynchronous JavaScript and XML”An important technology used in Ajax design is the XMLHttpRequest object. How to create an XMLHttpRequest object: xmlhttp = new ActiveObject(” Microsoft.XMLHTTP “); / / creation methods supported by IE browserXmlhttp = new xmlhttprequest(); / / creation methods supported by browsers such as Firefox and operaXmlhttp is […]

  • Ajax call simple instance

    Time:2020-11-2

    This paper describes the method of Ajax call. For your reference, the details are as follows: Fill the data returned from the URL into the div with the specified ID client: test.html <script> function createXMLHttp() { var ret = null; try { ret = new ActiveXObject(‘Msxml2.XMLHTTP’); } catch (e) { try { ret = new […]

  • Example analysis of line feed problem of Ajax asynchronous submission data return value

    Time:2020-11-1

    This paper analyzes the problem of the return value of Ajax asynchronously submitting data. For your reference, the details are as follows: The previous analysis introduces《JavaScript passes parameters based on Ajax callback function》And《The difference between IE browser and FF browser about Ajax passing parameter value in Chinese》, learn the method of Ajax callback function transfer […]

  • Analysis of two ways of data parameter transfer in AJAX

    Time:2020-10-31

    This paper describes two ways of data transfer in Ajax. For your reference, the details are as follows: 1. Post mode: /** *Order cancellation *Is the @ return {Boolean} process successful */ function orderCancel(orderId, commant){ var flag = false; $.ajax({ type: “POST”, url: “../order/orderCancel.action”, //orderModifyStatus data: {“orderId”:orderId,”commant”:commant}, dataType:”json”, async:false, cache:false, success: function(data){ Var member = […]

  • Method of getting xmlhttp object by Ajax

    Time:2020-10-30

    This paper describes the method of getting xmlhttp object by Ajax. For your reference, the details are as follows: XML HTTP object is used in Ajax. I have seen various writing methods to obtain this object, and I think this method is the most elegant. First of all, it considers that it is suitable for […]

  • Sharing Ajax to create simple instance code

    Time:2020-10-29

    Xmlhttp is a set of API that can transmit or receive XML and other data through HTTP protocol in JavaScript, VBScript, JScript and other script languages. The most important use of xmlhttp is that it can update part of the web page without refreshing the whole page. Almost all browsers support XMLHttpRequest object, which is […]

  • The method to solve the error error always pops up when Ajax returns verification

    Time:2020-10-22

    Send a simple case:Reception: <%@ page language=”java” import=”java.util.*” pageEncoding=”UTF-8″%> <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN”> <html> <head> < title > user login <script type=”text/javascript” src=”../js/jquery-easyui-1.3.5/jquery.min.js”></script> <script type=”text/javascript” src=”../js/jquery-easyui-1.3.5/jquery.easyui.min.js”></script> <link rel=”stylesheet” href=”../js/jquery-easyui-1.3.5/themes/default/easyui.css” type=”text/css”></link> <link rel=”stylesheet” href=”../js/jquery-easyui-1.3.5/themes/icon.css” type=”text/css”></link> <script type=”text/javascript” src=”../js/jquery-easyui-1.3.5/locale/easyui-lang-zh_CN.js”></script> <meta http-equiv=”content-type” content=”text/html;charset=UTF-8″ /> <script type = “text/javascript” charset = “UTF-8”> $(function(){ var loginDialog; loginDialog […]