Solutions to cross domain and cross domain problems

Cross domain What is cross domain? Cross domain, that is, non homologous policy requests. This means that the browser cannot execute scripts from other websites. It is caused by the browser's homology policy and is a security restriction imposed by the browser. The so-called homology means that the domain name, protocol and port are the same ...

Posted by aragon1337 on Mon, 20 Sep 2021 21:49:55 -0700

JavaScript anti shake & throttling

Anti chattering and throttling are events that prevent high frequency triggering Anti shake, generally used in Onresize event (onresize: execute Javascript code when the browser is resized) oninput event: triggered upon user input. If the event is triggered with high frequency, it is likely to cause the server to crash Then you can use the ...

Posted by Bleej on Thu, 16 Sep 2021 11:07:33 -0700

16-JSON, AJAX, book city project phase IX, i18n

get ready New module 16_json_ajax_i18n and create a Tomcat instance 1. What is JSON? JSON (JavaScript object Notation) is a lightweight data exchange format. Easy to read and write. It is also easy to machine parse and generate. JSON adopts a text format completely independent of language, and many languages provide support for JSON (inc ...

Posted by blueovaltv on Mon, 13 Sep 2021 19:24:46 -0700

Request interceptors and response interceptors in Vue

Front Hello everyone, I'm here again. Today we'll talk about what is a request interceptor and the role of a request interceptor. Well, I won't say anything superfluous. I'll start today's explanation right away Here we go request interceptor The function of the request interceptor is to: Some operations are performed before the ...

Posted by nick1 on Sat, 11 Sep 2021 18:22:28 -0700

Using Ajax to access background data

1, What is Ajax?          Asynchronous Javascript + XML (asynchronous JavaScript and XML) is not a new technology in itself, but a 'new' method to describe a collection of existing technologies. 2, How to access background data?          1. Create XMLHttpRequest ...

Posted by mac.php on Sat, 11 Sep 2021 15:31:26 -0700

Ajax Simple and Easy to Understand Notes

1. get and post requests You can specify the type of send request through the method property of the form tag If it is a get request, the submitted data will be stitched behind the ** URL ** ?userName=lnj&userPwd=123456 If a post request places the submitted data in the ** request header ** Similarities and differences between GET ...

Posted by steveness on Sat, 04 Sep 2021 23:38:55 -0700

JavaWEB Notes 14 jQuery Sends AJAX and JAVA Background JSON Data

JavaWEB Notes 14 jQuery Sends AJAX and JAVA background and JSON data Part One: jQuery Sends AJAX 1.jQuery sends AJAX details: The main purpose of AJAX is to refresh some requests on the page without reloading the page, and submit the form to the background. There are many ways to send AJAX using jQuery. Now you are introducing jQuery's n ...

Posted by jdsflash on Fri, 03 Sep 2021 09:16:22 -0700