• Ajax for web development


    Today, I will share with you the usefulness of Ajax technology in combination with several cases Let’s first understand what AJAX is Ajax: Technology of refreshing only partial pages The full name of AJAX is asynchronous JavaScript and XML AJAX is not a new programming language, but a new way to use existing standards AJAX […]

  • Ajax learning resources are available at home and abroad


    Compilation mode of Ajax developers:http://www.ajaxpatterns.org/ • XMLHttpRequest tutorial: “dynamic web interface”:http://www.xml.com/pub/a/2005/02/09/xml-http-request.html • JavaScript performance benchmarks:http://blogs.ebusiness-apps.com/dave/?p=14 • Ajax resources:http://www.ajaxmatters.com/ • JavaScript specification:http://www.ecma-international.or/ … ndards/Ecma-262.htm • introduce JavaScript object identification:http://www.crockford.com/JSON/index.html • Mozilla’s venkman JavaScript debugger:http://www.mozilla.org/projects/venkman/ • XML DOM reference:http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk/html/e9da2722-7879-4e48-869c-7f16714e2824.asp • Microsoft Dynamic HTML reference: http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/dhtml_reference_entry.asp • Gecko DOM Reference: http://www.mozilla.org/docs/dom/domref/ • “porting ie to Mozilla”http://www-128.ibm.com/developerworks/web/library/wa-ie2mozgd/ • Mozilla […]

  • PHP homework 2.3 judging students’ grade


    requirement Use ajax to calculate the level in the background and output it to the PHP page. The valid input is 0 ~ 100. design sketch index. PHP code <!DOCTYPE html> <html> <head> <meta charset=”UTF-8″ /> < title > judge the grade of students < / Title > </head> <link rel=”stylesheet” /> <style> body { […]

  • Two solutions to Ajax cache problem (ie)


    AJAX is used in a project. At first, I thought it was very good. Later, I found a problem, such as deleting an item. After recovery, it can’t be deleted again,You have to wait for a while. Later, you know it’s the problem of ie cacheAjax cache page is a problem that people who have […]

  • JavaWeb (Ajax implementation without refresh paging)


    catalogue 1、 Preparation stage 2、 Technology used 3、 Case 4、 Precautions 1、 Preparation stage         1、jquery-3.3.1.js 2. Jar package required for JSON:fastjson-1.2.47.jar         3、eclipse 4. TransferjQueryAnd jar packages are all imported into the project 2、 Technology used         1、Java 2. MVC mode         3、AJAX         4、jQuery     […]

  • Ajax common functions create xmlhttp objects, which are different from IE and Mozilla browsers


    Ajax # common functions create xmlhttp objects, which are different from the functions of IE and Mozilla browser. There are many functions on the Internet to create xmlhttp objects and distinguish between IE and Mozilla browser. This is quite good, and you can use it directly Copy codeThe code is as follows: function getRequest() {          http_request = false;          if (window.XMLHttpRequest) {   […]

  • [front end] Ajax introduction and actual combat of front and back end interaction


    ❤️Ajax❤️ Each Preface: Part I: introduction to JSON Effect display: Part II: front back interaction 1. Here are two ways of interaction: (1) Use the name attribute in the form to interact with the front and back end HTML code: Python code: How to achieve: Effect display: (2) Front and back end interaction using ajax […]

  • Dynamically load the required JS files with Ajax


    I’m used to using Java. In Java, I need a class to import directly, so I also want to achieve this effect when making JavaScript. Some time ago, I used Dojo, the dojo inside The function of require is very good. When I look at the code, I feel dizzy and a lot of things. […]

  • ASP + Ajax static page paging code


    Recently, due to the need of work, I want to realize paging on the static page. After thinking about it, I decided to implement it with Ajax, so I made the following efforts. The screenshot is as follows: Copy codeThe code is as follows: <html> <head> < title > Ajax static paging < / Title […]

  • Verification code (Ajax + PHP)


    Verification Code In general, the verification code is the writing situation of the address <img src=”https://www.xxx.com/captcha.html” alt=””> In general, the verification code needs to be retrieved by Ajax $.get(‘https://www.xxx.com/captcha.html’,function (data,statusm,xhr) { $(‘#captcha’).attr(‘src’, data); }) However, because the content type value directly output by the back-end program, such as PHP, is image / jpeg, Then the […]

  • What is the definition of Ajax


    Ajax, fully known as “asynchronous JavaScript and XML”, is a web development technology for creating interactive web applications. It uses: *Use XHTML + CSS to represent information;  *Use JavaScript to operate DOM (document object model) for dynamic display and interaction;  *Use XML and XSLT for data exchange and related operations;  *Use XMLHttpRequest object to exchange […]

  • JavaScript Ajax class Ajax request 2007-12-31 update


    Ajax request is a lightweight Ajax Application development framework, compatible with Firefox, ie, opera and safari. It can easily carry out some operations often used in Ajax, so as to simplify the development steps and reduce the amount of repeated code writing. If you find problems in the process of use, or have good comments […]