Problems found in table discoloration examples - attr() and prop()
In the course of practicing the example of jQuery table discoloration, several problems were found:
Switching the selected row in IEEdge browser will result in the background color of the previous table row being eaten.
In chrome, you can select a row by clicking any cell in the row from top to bottom, while a row is selected by clicking fro ...
Posted by fabby on Mon, 30 Sep 2019 01:30:27 -0700
The @change event under vue
The owner of the building recently practiced vue in the project, and encountered some pits during the project. Now record it.
First up code
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<script src="v ...
Posted by spectacularstuff on Tue, 24 Sep 2019 20:39:25 -0700
Responsive Management Background Sidebar Processing Based on Asp.Net Core MVC and AdminLTE
Explain:
.NET Core version: 2.2
AdminLTE version: 2.4.18
Bootstrap version: 3.4.1
font-awesome version: 4.7.0
1. New project using VS 2017: AdminLteDemo, add area Admin when finished
Add files in the Areas/Admin/Views folder and add the following code separately, mainly for reference and page layouts, w ...
Posted by BlooPanthr on Tue, 24 Sep 2019 18:43:21 -0700
Vue's Rich Text
Preface
Recently embedded in project due to business requirements tinymce This rich text editor is designed to meet the business needs of the platform for users to edit various types of news content and what. It also takes a lot of time to experience and compare various open source editors on the market.
*Case demo version: vue-tinymce-demo
On ...
Posted by d0rr on Fri, 20 Sep 2019 19:42:33 -0700
api of jquery and summary of usage
Summary of jQuery API and usage
selector
Basic selector
*Universal selector
.class class class selector, an element can have multiple classes (chrome is implemented using the native js function getElementByClassName())
Changing the style of an element using a class selector
<div class="demo"></div>
<script type="text/javascrip ...
Posted by bizerk on Thu, 19 Sep 2019 18:42:14 -0700
Build your own web pack development environment from 0
Last article: Front-end automated testing
Another serial is coming! This time, we will introduce how to build a web pack development environment from 0, understand its internal mechanism and principle, so that we can master and use web pack more accurately. Let's begin with:
1. What is Webpack?
Web pack is a static module bundler for modern Jav ...
Posted by binumathew on Mon, 16 Sep 2019 02:26:21 -0700
On Shallow Copy and Deep Copy
Preface: how to realize a deep copy of js
This is an old-fashioned question, but also in the process of job-hunting high-frequency interview questions, the investigation of knowledge points are very rich, this paper will make a shallow-to-deep comb of the difference between shallow and deep copies, implementation and so on.
The Difference betwe ...
Posted by mherr170 on Sun, 15 Sep 2019 21:30:56 -0700
promise's past and future life
problem
What is single thread and what is the relationship between asynchrony
What is event-loop
Have you ever used deferred in jquery
Basic Use and Principles of Promise
Introduce async/await (links and differences with Proise) - not a replacement, ...
Posted by delassus on Sun, 15 Sep 2019 21:08:14 -0700
JQuery EasyUI -- Draggable component
Links to the original text: https://my.oschina.net/myfirtyou/blog/624315
Learning Points:
1. Loading mode2. Attribute List3. Event List4. Method List
This section focuses on the u ...
Posted by PallaviDalvi on Fri, 13 Sep 2019 04:06:56 -0700
Web Api. About AJAX
AJAX: Asynchronous JavaScript and XML
1. Create using XMLHttpRequest
function success(text) {
console.log('Success:' + text);
}
function fail(code) {
console.error('Error Code: ' + code);
}
// New XMLHttpRequest object
var request = new XMLHttpRequest();
// When the state changes, the callback function is executed
request.onreadystat ...
Posted by bur147 on Thu, 12 Sep 2019 00:15:28 -0700