Play fei -- > jQuery
preface
there are many knowledge points today. Please study and practice carefully.
1, jQuery event registration
Advantages: simple operation, no need to worry about event coverage and other problems.Disadvantages: ordinary event registration cannot delegate events and unbind events. Other methods are needed.
grammar
element.eve ...
Posted on Sun, 05 Dec 2021 21:22:18 -0500 by eddieblunt
Element viewing area client series / element scroll series / Case: imitation Taobao fixed right sidebar
Element viewable client series Client is translated as the client. We use the relevant attributes of the client series to obtain the relevant information of the element visual area. Through the relevant attributes of the client, we can dynamically obtain the border, size, etc. of the element.
client family properties effect ...
Posted on Fri, 03 Dec 2021 01:23:33 -0500 by jeremuck
jQuery event bubbling
jQuery event bubble explanation
Official interpretation:
Trigger a certain type of event on an object (for example, click onclick event). If the object defines a handler for this event, the event will call this handler. If the event handler is not defined or the event returns true, the event will propagate to the parent object of this obj ...
Posted on Mon, 29 Nov 2021 00:51:56 -0500 by jbrill
jsp, operate the varStatus attribute in the c:foreach tag to implement mouse events
catalogue
Effect display
Implementation code
1. Front end jsp code (focus on front-end code)
2. Front end js code (focus on front-end code)
About varStatus in c:foreach tag
Effect display
Note: in the jsp page, use the < C: foreach > tag to traverse all the commodities in ...
Posted on Fri, 26 Nov 2021 10:19:51 -0500 by whitepony6767
jQuery effects, event principles, plug-ins
1. jQuery Event
1.1 What is an event
1. Page responses to different visitors are called events.
2. Example: Move the mouse over an element, select a radio button, click on an element
1.2 Event Syntax
1. Click Events
$("p").click(function(){
//Code executed after action trigger!!
});
2. Double-click Events
...
Posted on Thu, 25 Nov 2021 13:41:34 -0500 by g.grillo
Bootstrap brief book (summary)
Bootstrap brief book (summary)
Summary:
Bootstrap sets the global CSS style. The basic elements of HTML can be styled and enhanced through class. There is also an advanced grid system.Bootstrap comes with a large number of reusable components, including font icons, drop-down menus, navigation, warning boxes, pop-up boxes and more.The ...
Posted on Fri, 19 Nov 2021 14:57:40 -0500 by Derek
javascript system series: analysis of browser loop event in js
Hello, I'm Lanfeng. Today I'm mainly sharing with you the browser event loop related to eventloop: eventloop, micro task, macro task, etc. this content is commonly used in our work and is also a question often asked in interviews with large factories. I hope the following chapters will be helpful to you.
event loop
event loop is the impleme ...
Posted on Wed, 17 Nov 2021 19:30:35 -0500 by shanksta13
jQuery Api learning (III. jQuery document - operation DOM element attribute)
1, Manipulating DOM basic properties
1. Get properties
When we want to get the attribute value of a DOM element, we can use either of the following two methods
Function nameparameterBelongingattrAttribute namejQuery core objectpropAttribute namejQuery core object
jQuery core object. Attr (attribute name):
<!DOCTYPE html>
< ...
Posted on Fri, 29 Oct 2021 04:52:32 -0400 by twcmad
Ajax.Day3.Ajax and Jquery
AJAX in Jquery
First, create a new case client.html, which uses bootstrap for style beautification.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
...
Posted on Thu, 14 Oct 2021 18:20:56 -0400 by knighthawk1337
[CTFSHOW] Getting Started with the web NodeJS (Continuous Update)
Write before
web334
Download the attachment, where user.js gets the user name:
CTFSHOW
Password is:
123456
Audit login.js code, where:
return name!=='CTFSHOW' && item.username === name.toUpperCase() && item.password === password;
Getting a name cannot be "CTFSHOW", but only if the name is capitalized the ...
Posted on Mon, 04 Oct 2021 12:27:49 -0400 by jcrocker