jQuery dynamic effects

Show hide Toggle show() $("button").eq(0).click(function () { // $("div").css("display", "block"); // Note: the time here is milliseconds $("div").show(1000, function () { // Action: after the animation is executed, it is called. alert("Display animation completed"); }); }); Animation hide() $( ...

Posted by psn on Thu, 26 Dec 2019 11:21:43 -0800

java implementation of online editing and flow of word documents

Using pageoffice to realize document online editing and document flow 1: process Draft documents in the modified traceless mode, open them in the forced trace mode when leaders annotate their opinions, open them in the approval mode when the clerk cleans up the draft, and open the released official documents in the final read-only mode. Amon ...

Posted by Ferenc on Wed, 25 Dec 2019 12:10:17 -0800

Generating QR code with thinkphp5 framework

Two words, first code:   In the first part: no need to save the file locally, and display directly on the foreground page: This is the content in the controller. Oh, by the way, first download the SDK:.phpqrcode class file download, download address: https://sourceforge.net/projects/phpqrcode/ Plug in only needs: the downloaded class file is a ...

Posted by van__ on Wed, 25 Dec 2019 07:43:35 -0800

Bank input bank card account format based on jquery

jquery bankInput plug-in is used to format and display the bank card. It can control the minimum and maximum number of text box input, control only the number of input, control not paste and cannot use the input method. At the same time, the plug-in can automatically load the format display and support the format display of non ...

Posted by toms on Wed, 25 Dec 2019 07:26:39 -0800

Login page under SSM framework, picture verification code, password encryption and comparison database data (2)

The code of the Controller on the login page is as follows: In this process, it is necessary to judge whether the user name exists or not? Is the password incorrect? Is the verification code incorrect? If there are no errors, the page will jump to the login success page. @RequsetMapper("/login.do") public @ResponseBody Map< ...

Posted by jossejf on Mon, 23 Dec 2019 10:37:43 -0800

Directory location and getting project root path

1, Directory location 1. . / is the current directory. 2. / is the parent directory. 3. / is the root directory. The root directory refers to the top directory. It is relative to the subdirectory. Under the same level of directory <link rel="stylesheet" href="css/list_table.css"/> Get parent directory afvVoltage.js ...

Posted by deras on Mon, 23 Dec 2019 09:30:25 -0800

vue signal realizes real-time message synchronization between front and back end

##Foreword Recently, I received a project that requires using websocket to connect. As a result, a. Net signal came. I was responsible for processing the front end. After getting the sample js given by the back end, I started to write the connection of vue. The main purpose is to realize that the server sends messages to the use ...

Posted by varun_146100 on Sun, 22 Dec 2019 14:23:59 -0800

Separation of front and back development and cross domain problems

Front and rear end separation Traditional development mode Once upon a time, JSP and Servlet brought infinite scenery to Java, which became popular for a while. However, with the continuous development of the Internet, such a development method gradually revealed its disadvantages. In the hot mobile Internet today, the application requirements ...

Posted by konetch on Sun, 22 Dec 2019 10:14:38 -0800

web file upload and renewal of BeetleX

It is a common function to upload files in web applications, but it is more troublesome to upload large files in the traditional way. After all, once the network is abnormal, it is easy to cause file upload failure and need to start again. This article introduces the web file upload function of BeetleX. Its feature is that it supports disconnec ...

Posted by webgod on Sun, 22 Dec 2019 04:51:07 -0800

Summary of DataTables

catalog Summary of DataTables introduce Basic configuration Server paging search summary Summary of DataTables After using DataTables for some time, it is a very powerful table plug-in. Keep updating. Official website: https://datatables.net/ introduce A simple demo <html> <head> <link rel="stylesheet" ...

Posted by Zallus on Sat, 21 Dec 2019 08:56:13 -0800