About PHP + jQuery UI drag floating layer to sort and save to database instance

The PHP + jQuery UI implements the drag floating layer sorting layout and saves the dragged floating layer position sorting results to the database instance. First, jQuery library and jquery-ui.min.js are introduced, then a drag loading image is placed, and multiple module drag layers are read from the database. Modules and orderlist are used ...

Added by Cerebral Cow on Wed, 18 Mar 2020 16:29:18 +0200

What kinds of webpack plug-ins do you use?

​ background Recently, I've been looking at something related to weback plug-ins. I don't know a lot about weback, but these things are necessary for senior programmers to master. Try to learn. introduce Official website: https://www.webbackjs.com/concepts/plugins/ There are so many things on the ...

Added by skalar on Sun, 15 Mar 2020 11:03:26 +0200

Deconstruction and assignment of variables in ES6

Destructuring assignment 1. Deconstruction and assignment of array Basic Usage The left and right sides have the same structure Right must be a legal value Declaration and assignment cannot be separated in one sentence let arr = [1, 2, 3]; let a = arr[0]; let b = arr[1]; let c = arr[2]; conso ...

Added by blkraven on Sun, 01 Mar 2020 16:12:36 +0200

jq selector | basic selector level selector property selector filter selector form filter selector

Basic selector Level selector attribute selectors Filter selector Form filter selector 1. Basic selector 1. Label selector (element selector) * syntax: $("html tag name") gets all elements that match the tag name 2. id selector * syntax: $("ාid attribute value") gets the ...

Added by imstupid on Wed, 26 Feb 2020 07:52:07 +0200

JS and JQuery implement AJAX asynchronous processing

AJAX (Asynchronous JavaScript and XML), Asynchronous JavaScript and XML Note: AJAX is a technology that can realize asynchronous update of web pages, which means that local content of web pages can be updated without repeatedly loading the entire web page   JS native and JQuery implement AJAX asyn ...

Added by JaclynM on Tue, 25 Feb 2020 12:37:27 +0200

jQuery Use Notes

jQuery Foundation Introduction to jQuery A fast, lightweight, rich JavaScript class library Official jQuery website: https://jquery.com jQuery development documentation: http://www.bejson.com/apidoc/jquery jQuery Advantages Open source, free, easy to learn Good compatibility A powerful selector Chain operation Convenient dom operation ...

Added by Cyberspace on Sun, 23 Feb 2020 04:44:42 +0200

How do I programmatically set the value of a selection box element using JavaScript?

I have the following HTML < Select > elements: <select id="leaveCode" name="leaveCode"> <option value="10">Annual Leave</option> <option value="11">Medical Leave</option> <option value="14">Long Service</option> <option value="17">Leave Without Pay</option> </select> ...

Added by bugcoder on Sat, 22 Feb 2020 10:08:26 +0200

Native JavaScript realizes unified package and download of photos and custom name for the linked array of photos

In the past two days, we have encountered a problem that the front end can get a json object. The requirement is to extract the specific links in the json and throw them into an array, and then write a function to put them into a file one by one and package them into a zip file for download. Many methods have been found before, but because js r ...

Added by Braimaster on Wed, 19 Feb 2020 16:03:29 +0200

The process of using easyui to dynamically generate numbers

In some projects, especially in the background management pages, we often encounter the problem that we need to use tree structure to express the data structure clearly. Recently, we learned how to use easyui to generate dynamic tree when knocking on the project, which is very simple. The tree structure ...

Added by mdmann on Wed, 05 Feb 2020 07:35:40 +0200

Implementation of left navigation in mobile terminal

1, Achieving results Home page: Click the navigation key: 2, Implementation plan 0x1 CSS3+javascript scheme 1. Realization ideas Transform transform using css3 translate(x,y),translatex() translatey() Transition transition < transition property >: retrieve or set the properties in the object participating ...

Added by purplehaze on Sun, 02 Feb 2020 19:40:20 +0200