Mainly solved
Browser compatibility, now compatible with IE6 7 8 ff Google (nonsense)
In IE, this points to a problem.
Go directly
CodeRight!
Copy codeThe Code is as follows: var bind = function (object, type, FN ){
If (object. attachevent) {//
Application background
When you need a function, you must enter some form information. After the function is completed and submitted, this part of information cannot be modified again. The form contains Textbox, dropdownlist, and checkbox
Some time ago I wrote an article about the effect of the next link on the image. Later I saw the jquery plug-in encapsulation, which was itchy in my hand. I used this example as ex.
Encapsulated JS source code: CopyCode The Code is as follows :/**
The "drag" function of the keyword "Drag search" requires the droppable library of jquery UI as follows:
When you search for keywords that contain the relevant keywords, you can drag the left keywords to the right border or enter the custom
CopyCode The Code is as follows:
marks count
marks count
Add one line
Save changes
by
Chinese
math
English
DESC
ASC
order
name:
sex:
Chinese:
Math:
English:
It mainly uses four JS
Reason: jquery is simple, compatible, and easily encapsulated. Let's talk a little bit about it. Let's start writing the jquery plug-in now. There should be many people who have written similar plug-ins, and I also have some forms that mimic
Download the jquery timers plug-in from the official website and reference it to HTML. 1.2 version
CopyCode The Code is as follows:
Then there is HTML. We can place a hidden server control storage value. Of course, this is your choice.Copy
Page domain relationship:
Main Page a.html Domain A: www.jb51.netThe Domain B: www.baidu.com of the page B .html of iframe, assuming address: http://www.baidu.com/ B .html
Effect:
The IFRAME adaptive size in dimensions.
Problem nature:The
1. html
Code
Copy code The Code is as follows:
Title 1
Title 2
Title 3
Title 4
Div>
content 1
content 2
content 3
content 4
2. js partCopy codeThe Code is as follows:
First: The followingCodeFor jb51, A is opened in a new window.
Copy code The Code is as follows:
Second:Copy codeThe Code is as follows:
Open external link in new windowCopy codeThe Code is as follows: $ ('a [href ^ = "http: //"] '). ATTR
1. The most basic function declaration is used as a local shard.
CopyCode The Code is as follows: function func (){}
Or
VaR func = function (){};
2. Use as a class constructor:
Copy code The Code is as follows: function class (){}
Class.
Scalable encapsulation to facilitate different effects. The source code provides the fade function and the move function.
One-sentence function call to achieve image switching special effects.Picchange ("ID of the image ul list", switching the
It's not easy for them to write a new method because they all reference this AA. JS file. after JavaScript code is executed, a function automatically introduces the JQ library. Therefore, the method for introducing the JS file is as follows:
Since the birth of jquery, it has made great achievements and recognized. Jquery is a lightweight JavaScript framework. Its release version is about 16 kb. It allows you to easily and concisely write beautiful animation effects, implement various
What is uploadify?
Uploadify is an upload plug-in of jquery. It supports multi-file upload and achieves very good results with progress display.
The official website provides a PHP demo. Here I will introduce the usage in Asp.net.
Download
Jquery plugin plug-in. If you do not understand what the jquery plug-in is or do not know how to compile it, you can view its official website: jquery authoring guidelines.
Well, there are some requirements that I think a good plug-in must have:
1.
Application background
1. When the user needs to fill out the form.2. The page uses the server verification control.3. You can choose whether to enter more items. Use display to control more items for display and hiding, as shown in.
Click
Document directory
Introduction (Introduction)
Installation (Installation and configuration process)
5. Use it
7. And finally...
Introduction (Introduction)
This is a dialog-based plugin to handle formatting of source code for FCKeditor 2.5.
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service