A project needs to be used, and you don't want to use something like jquery. I first searched the internet and found a lot of ways to change the color of table lines that execute JS in CSS. However, this method is quite slow when there are many
The access speed of the document with such a line of code IE can be increased by at least five times. It is definitely a good method for friends who use document on pages. Add the following code to the beginning of JavaScript
The Code is as
A website with online bookmarking management needs such a function to combine the IDs or values of matching nodes for passing parameters. Check that jquery has no direct method,
However, there is a map method. You can use it to define a method to
Now, I am bored. By the way, I took a look at the drag plug-in of jqueryui. The drag-and-drop method is very simple. After seeing the effect, I'm excited... but how can we save the order? I think of cookies. But how can I use cookies to save the
Obtain the id list of controls containing a string in a container control. // obtain the id list of controls containing a string in a container control.
// Parameter: Container Control, id keyword of the control to be searched, and Tag Name of the
For details about jquery attributes, refer. Attr (name)
Obtains the attribute value of the First Matching Element. This method can be used to conveniently obtain the value of an attribute from the First Matching Element. If the element does not have
For more information about how to sort out objects in jquery learning, see. Each ()
Each (callback)Execute a function using each matching element as the context. This means that each time the passed function is executed, the this keyword in the
With the popularization of multi-core CPUs, concurrent multi-thread operations are becoming increasingly popular in mainstream programming languages, but currently Javascript implementations do not yet support multithreading in terms of languages, I
This is a lot of the same as the previous image, which is displayed in an infinitely large image than a pre-loaded image or a limited container.
AboutThis is a lot of the same as the previous image, which is displayed in an infinitely large image
The beautification of the checkbox and radio controls implemented by jquery is very good. You can modify images to achieve more beautiful results. :
HTML:
The Code is as follows:
Aaaaaa Bbbbbb Ccccc Ddddd
AAAAAA BBBBBBBB CCCCCC DDDDDD
The 3D Rotation effect shows the share button, which has an animated effect. The tab cloud of WordPress also seems to have this effect.
1. An Animated Sharing-Bar that has des a 3D pair usel Effect
The 3D Rotation effect shows the share button,
This was a few months ago. The scenario was as follows: When uploading images, I found that the image uploading method used by developers was handled by Iframe + traditional httppost. In addition, no unified upload function is set up. The code is
The js pop-up box replaces the browser pop-up box. For more information, see.
The Code is as follows:
Function fromID (id ){Return document. getElementById (id );}Function show_alert (msg, type, time ){Var layer_obj = fromID ("alert_layer ");Var
Usually, when using ajax, we cannot avoid dealing with the lightweight json data format. However, it is difficult to manually parse json and construct HTML. Now with this plug-in, you can use the template to parse json as Extjs. Complete code:
The
Javascript (ECMAScript) is a weak type of language. This does not mean that it does not have a data type, but variables or Javascript Object Attributes do not need a specific type of value to be allocated to it or it always uses the same value.
The usage of the jQueryEasyUI Dialog box (Dialog) is very similar to that of the EasyUI window. In the end, only a few buttons are different from that of the window. Let's take a look at the EasyUI Dialog box.
Js Code:
The Code is as follows:
Jquery and css are used to create personalized single quotes and check boxes. For more information, see.
What is the effect after css and jquery beautification? Isn't that refreshing! This is an effect I saw from another script library. I thought it
On web pages, there are often Information Input pages, such as login pages or registration pages. When the page is opened, the focus of the cursor is automatically located in the first input field, this will provide a better user experience. This is
Loop traversal is one of the most common requirements in development. Let's look at a combined version of The BASE2 framework and Jquery.
The Code is as follows:
Var forEach = (function (){// Array and pseudo array TraversalVar _ Array_forEach =
Before the official start, I would like to explain the javascript principles by analyzing the memory allocation during javascript execution, closure principle, face object, execution model, object model ..., the article has a special and in-depth
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.