JavaScript classic cases (9x9 multiplication table, guessing game, countdown, picture switching...)
Reading catalogue 1, 9x9 multiplication table 2, Guessing game 3, Running clock 4, The realization of countdown 5, Coun...
JS event flow, DOM event flow, IE event processing, cross browser event processing, event object and type
Removal of events
removeEventListener() The second parame...
The difference between Vue's calculated property and its monitored property
1, Calculated attribute
1. The calculation attribute is t...
js Dom binding keyboard or mouse events for elements in a page
html mouse event
onload page load onclick mouse click onm...
Getting and setting the content, style and effect of elements by DOM in javascript
getElementById() gets dom element according to id
Return ...
Common development knowledge points of ES6: Introduction
ES6 introduction
ES6, full name ECMAScript 6....
Ajax&Ajax asynchronous verification of user name in Java
Ajax Asynchronous JavaScript And XML (Asynchronous JavaScript And XML) is a web development technology that creates in...
Select the text in the element (similar to highlighting with the mouse)
I want the user to click on a link and then it selects HTML text in another element (rather than input).
...
layer picture preview adaptive window
Recently, when using layer to preview pictures, we encountered a problem. If the size of the picture is larger than the ...
JavaScript self study notes: using JS to realize floating window of web page
Recently, I made a small project to add a floating window to the web page, which tested the basic CSS and JS technology....
jQuery -- small rocket back to top case
Small rocket back to top case 1. Scroll the page. When the distance between the page and the top exceeds 1000px, the small rocket will be displayed. E...
Project 4 product purchase
1: Merchant background - commodity management [commodity list] (in the merchant background, display the commodity list information of the merchant) T...
vue koa2 mongodb does the back-end part of the personal blog login registration function from scratch
0. Effect demonstration It's annoying to plug in a video.You can go out and turn right to Youku. Click on me!). 1. Backend Build 1.1 Project Stru...
[UE4] UE4 embedded web and communication with Web
UE4 is embedded in the Web and UE4 to Web communication. I use ue4.22.3, and take UE4 embedded in ECharts and communicating with ECharts as an exampl...
HTML of Java Web Foundation
Overview of web concept * JavaWeb: *Using Java language to develop Internet based projects *Software architecture: 1. C/S: Client/Server client / ser...
js basic functions
1. Array API of javascript: //Defined array var pageIds = new Array(); pageIds.push('A'); //Array length pageIds.length; //shift: Delete th...
Prototype application in JS (inheritance and extension)
Prototypes in JS Prototype is a very important mechanism in JavaScript. Through [[prototype]], we can easily implement the inheritance and extension ...
Create and get cookie s
Create and get cookie s Producer: heart and soul Cookie: in the Internet, a cookie is a small piece of text information generated on a web server and ...
Getting started with the web front end to the real world: several ways to bind events with HTML tag pseudo elements
Here are a few simple ways to implement click pseudo elements for event handling, with example code attached. HTML structure First of all, HTML struc...
Add emoticons to the applet
The native textarea has discarded the button of selecting expression, so it simulates an expression selector Here is the effect display Realization pr...
Explore the difference between Reflect.apply and Function.prototype.apply
As we all know, ES6 adds a global, built-in, non constructable Reflect object, and provides its next series of interceptable operation methods. One of...
Thoroughly understand JavaScript forEach & map
background In JavaScript, we are certainly familiar with array traversal. The most common two are forEach and map. (of course, there are others such a...
ThinkPHP+JQuery for asynchronous file upload
Front-end code <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title>ThinkPHP+JQuery...
Teach you 10 minutes to build a cool personal blog
Take personal blogs for example, Blog address Preparation install $ npm install -g hexo-cli Initialization $ hexo init <folder> $ cd <folder&...
canvas: writing dynamic clock in native javascript
At this time, the needle is centered on the center of the canvas; g.translate(width/2,width/2); This function moves the origin of the canvas to (widt...
Experience in the development of vue mobile terminal
Introducing Mint UI on demand Used in this project mint-ui As a basic ui framework, it has encountered many problems in use. The official website doc ...
[JS foundation] Prototype and prototype chain, constructor
5 prototype rules All reference types (array, object, function) have object properties, which can freely extend properties (except "null") A...
Rich text editor Quill upload pictures and videos
image and video belong to Embeds in Quill formats. To insert pictures or videos into rich text, you need to use insertEmbed api. insertEmbed insertEmb...