JSON & Ajax (syntax format + parsing json)
1.json rules
Reading guide module: development history: At the beginning of the 21st century, Douglas Crockford looked for a simple data exchange format, Can exchange data between servers. At that time, the common data exchange language was XML, But Douglas Crockford thinks that XML generation and parsing are too troublesome, So he propose ...
Posted by adyre on Fri, 28 Jan 2022 22:55:52 +0100
es6 promise the king of knowledge points comes to challenge
The knowledge of promise can be divided into bronze, silver, gold, platinum, diamond, Xingyao and king. Maybe the king has played too much. Which stage have you been to? About promise
bronze
You have used promise to solve asynchronous programming and know how to call then() and catch() to handle the callback function.
Basic Usage
const pro ...
Posted by luvburn on Fri, 28 Jan 2022 17:14:23 +0100
Vue version 3.0 - let's talk
vue3.0 version
preface
Study vue3 0 can learn and consolidate vue2 0 knowledge points are helpful for 3.0. Come on, Sao Nian!
vue: Beta
It can be seen that the Vue 3.0 beta version is a project series, including the suite and webpack plug-ins we need in the development process. This article will take you to quickly build a project fra ...
Posted by cjkeane on Fri, 28 Jan 2022 16:28:52 +0100
Zutilo's advanced extensions use Quick Copy alt1 alt2
preface
summary
Zotero is an open-source document management software. When using Endnote, the author encountered an unhandled bug (after the Seafile cloud disk synchronization failed, the three local computers and the cloud disk involved in the synchronization lost all the paper item information and could not be recovered). At the same time, ...
Posted by kevinkorb on Fri, 28 Jan 2022 15:53:26 +0100
Some common jQuery methods 1_ twenty million two hundred and twenty thousand one hundred and twenty-eight
1,jQuery.merge() method
The $. merge() function is used to merge the contents of two arrays into the first array. * $* merge( first, second )
$(function () {
var arr = $.merge( [0,1,2], [2,3,4] );
$("span").text(arr.join(", "));
})
2,jQuery.inArray() method
The $. inArray() function is used to find the specified value in the array and r ...
Posted by aclees86 on Fri, 28 Jan 2022 15:17:34 +0100
js inheritance, I'm a porter
It's mainly the boss's js inheritance
This is a transporter Prototype, constructor, instance
The first one he said was prototype chain inheritance:
First, we talk about the prototype, constructor and instance, as well as the relationship between them
1. Prototype: a simple object, which is used to realize the attribute inheritance of the ob ...
Posted by atl_andy on Fri, 28 Jan 2022 08:54:40 +0100
Use of foreach, map, filter, reduce, find, some and every methods in js array
1, Array prototype. forEach()
No return value This method traverses each item in the array and executes the given function once for each element of the array. The forEach method cannot modify array items, but the original array can be modified through the index of the array.
Sample code
const arr = [1,2,3]
arr.forEach((value,index,array) ...
Posted by chronister on Fri, 28 Jan 2022 07:55:43 +0100
❗ The handsome guy spent an hour imitating the smart screen of the library! Wonderful~
The handsome guy went to the library to paddle. When he entered the door, he was shocked by the big screen at the door of the library. I would also ha ha ha, so I took it down! As a result, when writing a blog, the handsome guy found that the name of the handsome guy happened to be on the photo. The handsome guy shouted: "handsome (wonderf ...
Posted by Glen on Fri, 28 Jan 2022 07:49:59 +0100
odoo technology development white paper Part III Chapter 11 abstract fields
Reprint: http://book.odoomommy.com/chapter3/README11.html
Chapter 11 abstract fields
Abstract field is the abstract basis of field components used in all views. These are common components in views, especially forms and tree lists.
The main function of the field component is to render the visual elements of the current value of the field in ...
Posted by sandsquid on Fri, 28 Jan 2022 06:32:22 +0100
vue advanced use vue Use () encapsulates its own plug-in
prelude
Learning a new knowledge should have some purpose, or understand the relevant background, and learn something with questions, at least not so painful. (don't tell me that learning is happy. Where does learning bring happiness ( ̄  ̄  ̄) ( ̄  ̄  ̄)
Let's first look at a scenario, a very common and simple requirement, which dynamically ...
Posted by rowanparker on Thu, 27 Jan 2022 20:49:48 +0100