jQuery - Advanced (animation, loop, regular, event bubbling, event delegation, DOM)

... 目录 单标签操作 链式 循环历历 Regular Expression Event Bubbling Event Delegate Create Label dom操作 Special Animation Effect 1.Fade in and out: fadeIn(): fade in fadeOut(): fade out fadeToggle(): Switch fades in and out 2. Show hidden: Show(): display Hide(): hide Toggle(): Switch display hide 3. Pull...


Understanding of next() in the koa framework

... const one = (ctx, next) => { Console.log('>> one'); Next(); Console.log('<< one'); } Const two = (ctx, next) => { Console.log('>> two'); Next(); Console.log('<< two'); } Const three = (ctx, next) => { Console.log('>> three'); Next(); Console.log('...


ajaxWebStageDay17

... 1.Ajax: "Asynchronous Javascript And XML" (asynchronous JavaScript and XML), refers to a web page to create an interactive web application Hair technology. 1) Asynchronous javascript and xml technology 2) Purpose: You can interact with the server locally without refreshing the entire...


Message message box

... // Example 1. Default bottom right corner $.messager.show({ Title: 'My message', / / ​​can be changed with span tag splicing font style Msg:data.msg, Timeout: 2000, showType: 'slide' }); //Example 2. The message will be displayed in the middle of the top Custom message box location $...


An error occurred while serializing or deserializing with JSON JavaScriptSerializer. The length of the string exceeds the server

... "/". An error occurred while serializing or deserializing with JSON JavaScriptSerializer. The length of the string exceeds the value set for the maxJsonLength property. Explanation: An unhandled exception occurred during the execution of the current web request. Check the stack trace...


The combination of openlayers and echarts3

... OpenLayers is a JavaScript class library package for Web GIS client development. It is used to implement map data access in standard format. echarts is Baidu's open source js chart library. How to 'paste' the chart on the echarts in the openlayers map. 开始 First add two divs on the html...


Enterprise CNPM private warehouse, component library implementation program

... 一, why use component extraction, external installation methods, multiple methods of calling? Convenient and fast, future-oriented development, improve efficiency, avoid redundancy, improve project quality, multi-projects can be used at the same time, without repeated development. Build...


The prototype chain in JavaScript exemplifies the concept of the prototype chain in

... JavaScript. The prototype chain, the chain of relationships between the instance object and its prototype. First, understand what is the prototype of the object? How to create a prototype of an object? Each object has a default default property prototype, which contains two properties...


MUI framework -09-MUI interacts with background data

... MUI framework -09-MUI interacts with background data This article introduces the use of art-template and native MUI data interaction mui.ajax to achieve We all know that we need data when we want to interact with data. Every time we send a request, we have to know, how to send it, to...


jQuery element binding and unbinding

... jQuery element binding and unbinding element binding event several methods: 对象.事件名字(事件处理函数);--->普通的写法 对象.bind(参数1,参数2);---->参数1:事件的名字,参数2:事件处理函 这两种方式只能为存在的元素绑定事件,后添加的元素没有事件 下面的两种方式,可以为存在的元素绑定事件,后添加的元素也有事件 父级元素调用方法,代理子级元素绑定事件 对象.delegate("选择器","事件名字",事件处理函数); 对象.on("事件名字","选择器",事件处...