Learning: jQuery Beginner (1)

Before learning jQuery, review the web page validation, pop-up windows and other parts of javascript implementation.Compare the difference between the two for an alert popup window 1. First look at a login interface: Figure 1 Figure 2 As shown in Figure 2, a prompt is displayed when the user name text box loses f ...

Posted by StathisG on Tue, 10 Mar 2020 17:10:32 +0100

[jQuery]: DOM content, attribute and style related operations

Article directory 1, Content operations 1,html() 2,text() 3,val() 2, Attribute operation 1. Get and set properties 2. Delete attribute 3, Style operation 1. Append style 2. Style 3. Remove style 4. Switch styles 5. Determine if there is a style 4, Style operation CSS supplement 1. Style 2. Get ...

Posted by English Fire on Tue, 03 Mar 2020 07:26:36 +0100

jQuery source code analysis animation module convenient animation details

jquery encapsulates several API s on the $. animate() interface for animation operations of matching elements, as follows: $(selector). Show (speed, eating, callback); if the selected elements have been hidden, these elements will be displayed $(selector). Hide (speed, eating, callback); hide the selected element if it is already displayed $(s ...

Posted by esthera on Sun, 23 Feb 2020 03:54:29 +0100

nodejs crawler -- grabs all articles of a user in CSDN

Recently, I'm learning node.js. It's like playing with something, so this simple reptile is born. Preparation node.js crawler must be installed first node.js Environmental Science Create a folder Open the command line in the folder and execute the npm init initialization project Begin formally Installation dependency express is used to buil ...

Posted by may on Tue, 11 Feb 2020 10:23:02 +0100

TinyMCE rich text editor is used in the layui pop-up layer, and data cases are echoed

Refer to TinyMCE Chinese document: http://tinymce.ax-z.cn/quick-start.php Let's see what I want to achieve Click Add to pop up a rich text editor, which consists of layer and TinyMCE Updating: echoing content The page of the pop-up layer comes alone, because iFrame is used Edit page, addOr ...

Posted by zushiba on Mon, 03 Feb 2020 15:23:30 +0100

Front end Bootstrap Modal box plug-in

A Modal box is a child form that is overlaid on the parent form. In general, the purpose is to display content from a single source, with some interaction without leaving the parent form. Subform can provide information, interaction, etc. Before use, you need to refer to bootstrap.js or the compresse ...

Posted by rpanning on Sat, 01 Feb 2020 14:08:37 +0100

Setting up a Web course in Shandong University

Some insights about the web, the web course really reaps a lot (although the final score is not ideal). From the beginning of the simple coping course to watching the online learning, it can be said that the course can still reap a lot if you study carefully, so if you are browsing this blog post is SDU ...

Posted by lovelys on Fri, 31 Jan 2020 04:51:11 +0100

Web Foundation - Bootstrap

Article Directory Bootstrap: Responsive Layout CSS Styles and JS Plugins case Bootstrap: 1. Concept: A framework for front-end development, Bootstrap, from Twitter, is currently a popular front-end framework.Bootstrap is based on HTML, CSS, JavaScript. It is simple and flexible, making Web deve ...

Posted by thenewperson on Thu, 23 Jan 2020 03:44:01 +0100

JS realizes three methods of uploading pictures and preview pictures

In the common user registration page, users need to select a picture locally as their avatar and preview it at the same time. There are two common ideas: first, upload the image to the temporary folder of the server, return the url of the image, and then render it on the html page; Another idea is to preview the image directl ...

Posted by Phpdiot on Tue, 07 Jan 2020 08:21:43 +0100

Jquery implements fading in and fading out the prompt box that disappears automatically, Jquery+css implements loading prompt box

The browser's native pop-up box is too ugly to disappear automatically. You can use Jquery to customize a disappearing prompt box. Style writing refers to bootstrap style. The static effects are as follows: First, write a div anywhere in the body of the html page <div class="tips"></div><!-- prompt box --&g ...

Posted by ataylor20 on Tue, 07 Jan 2020 08:12:35 +0100