Form form submission and Validform validation
Whether it's for login, registration or adding or modifying entities, we will use forms and validation at the same time. Here we will explain the details of form submission in combination with Validform validation.
1. Introducing Documents
<link href="css/validate.css" rel="stylesheet" />
<script src="scripts/jquery/jquery-1.11. ...
Added by watsmyname on Thu, 30 May 2019 22:14:36 +0300
Use and Problems of Player JPlayer
Original address: http://blog.csdn.net/z69183787/article/details/8178656?_t_t=0.5149982699228508
jPlayer is used to control and play mp3 files jQuery Plug-in unit. It uses Flash to play mp3 files in the background and XHML/CSS can be used to customize the appearance of the front player. Support:
One thing that's better is that it's in s ...
Added by stuffradio on Wed, 29 May 2019 23:55:27 +0300
Bootstrap Learning Documents for Girlfriend (4)
Bootstrap
Modal Box
Be careful:
1. The pop-up layer must be placed in the body
2. No more layers can be nested inside the pop-up layer
3. When the pop-up layer comes out, the scrollbar of the page will be overwritten
modal pop-up parent
modal-dialog pop-up layer
Content area of modal-content pop-up layer
Head area of modal-header pop-up laye ...
Added by flaab on Wed, 29 May 2019 12:20:15 +0300
Prevent default behavior
Default behavior
For example, the default behavior of a link label is jump, and the default behavior of submission button is submission, which prevents default behavior from interacting with the user before default behavior occurs, and chooses what behavior to perform after obtaining the user's choice.
The ways and codes of different browser ...
Added by simcoweb on Fri, 24 May 2019 23:18:41 +0300
Web bottom right pop-up box prompt, can be superimposed
Preface
I have been thinking about summarizing and accumulating my regular study and work, but my husband is really tired. In recent days, because of the work of some things stimulated, feeling and hit the chicken blood in general: the old man to study hard, diligent and upward. Because the first time to write a blog, but has been working for ...
Added by djfox on Fri, 24 May 2019 21:45:18 +0300
Detailed description of JS modularization
JS Modularization
Modular understanding
What is a module?
Encapsulate a complex program into several blocks (files) according to certain rules (specifications) and combine them together.
The internal data/implementation of the block is private, but exposes some interfaces (methods) to the outside to communicate with other external module ...
Added by Mr Camouflage on Fri, 24 May 2019 21:41:21 +0300
JQuery and DOM Based on JavaScript
Modify Text and HTML
The text() and HTML () methods of the JQuery object retrieve the text of the node and the original HTML text respectively, for example, the following HTML structure:
<!--HTML structure-->
<ul id="test-ul">
<li class="js">JavaScript</li>
<li name="book">Java &JavaScript</li ...
Added by phpnewbiy on Fri, 24 May 2019 02:35:57 +0300
Corresponding to HTML dom, learn common jQuery operations
Create node
Example: Create a div tag node Var $div = $('<div id = div">I am div </div>');
Insertion node
1. Insert peer nodes
after() inserts content after all matching elements, for example:
HTML Code:
<p> I want to say:</p>
jQuery code:
After (&q ...
Added by playa4real on Fri, 24 May 2019 01:27:21 +0300
jqGrid | Initialization | Parameters
jqGrid principle
JqGrid is a typical B/S architecture. The server only provides data management, while the client only provides data display. In other words, jqGrid can present information about your database in a simpler way, and it can also send client data back to the server.
For jqGrid, what we care about is that there must be a pi ...
Added by Brudus on Tue, 21 May 2019 02:14:28 +0300
A first look at ajax (2) - encapsulating jsonp
Reprinted from Say JSON and JSONP, maybe you'll be clear-cut
brief introduction
What is jsonp
JSONP(JSON with Padding) is a "usage mode" of JSON that can be used to solve cross-domain data access problems in mainstream browsers.
Due to the homology policy, web pages located in server1.example.com in general cannot comm ...
Added by zippee on Mon, 20 May 2019 04:30:30 +0300