Workaround:
Online answers by my verification are not reliable, after everyone knows, flexigrid in IE does not display data processing method is: Specify the way AJAX request data for Get way
In addition, Flexigrid is not not can not use the "
Today, a programmer gave an Excel table, which has more than 100 data, called me a copy of the data to the corresponding functions such as put ("Gaga1", "GAGA2"), so that a word, I copy more than 100 times, fuck. I said you can read it in Java
Typical application when the mouse wheel scrolling control the size of the picture or text, such as the rotation of the mouse wheel to achieve scaling and so on, you will use the MouseWheel event. In most browsers (IE6, IE7, IE8, Opera 10+, Safari 5+
The use of the slide in the Web site is now very common, how to achieve, oneself after a study, this thought is very complex, unexpected but very simple. There are ready-made jquery plug-ins for jquery. Kinslideshow.js.
Use jquery. Kinslideshow.js
First type:
Copy Code code as follows:
/** 's * *
function merge (A, b) {
var aLen = A.length,
Blen = B.length,
MaxLen = Math.max (ALen, Blen),
Sumlen = ALen + Blen,
result = [],
AP = 0,
bp = 0;
while (Result.length if (AP if (
Using the typeof algorithm
The typeof operand is undefined, and the return is "undefined".
The following defines x as the number of operations:
There are 5 kinds of situations;
The number typeof (X) is the number that is returned by the operand;
Nonsense not much to say, directly on the code: there are comments
Copy Code code as follows:
Menu 1
11111
11111
11111
11111
Menu 2
22222
22222
22222
22222
Menu 3
22222
22222
Copy Code code as follows:
Previous projects used to write their own, there should be no bug it, there are better also welcome everyone advice,
var return_addstrfn=function (Oldarr, NEWARR) {
var t = this;
The way to repeat
Or in the China Unicom IOM project encountered a demand, the page every half hour to pop-up prompts message (the message is similar to the form of QQ news pop-up). At that time on the Internet to find such a material, no longer remember the source
In some Web pages or the use of the pop-up layer, the general situation in IE browser we do not want to use the tab or say
When you use the TAB key, you can create problems, such as:
After the pop-up layer, the TAB key can also be manipulated in
1. Use single quotation mark to pass the parameter:Test1
If one of the arguments has a value that contains single quotes, the method can be faulted.Test1
Improvement: with single quotes plus \ ', OK.Test
2. The above solves the problem of single
Copy Code code as follows:
Test Movable div
Style= "cursor:move;position:absolute;width:100px;height:60px;border:1px Solid
silver;left:100px;top:100px;z-index:9999; " >
Document.all[] is an array variable of all the tags
Using the jquery plugin jquery.smallslider.js also enables slide effects.
The HTM code is as follows:
Copy Code code as follows:
JS Code:
Copy Code code as follows:
$ (document).
Similar to ' ~!@#$%^&* () _-=[]{}|; ': ',. \/<>? When such a special character is used as a parameter, the product will pass a parameter error if it is not processed.
Workaround:
encodeURI method
Encodes a text string into a valid Uniform
Copy Code code as follows:
Click on the "Start Timer" button above to start the timer. The input box will always be timed, starting at 0. Click the "Stop Timer" button to terminate the timer.
timedcount (), 1000ms
Use substring () or slice ()Function: Split ()Function: To store a string partition into an array using a specified delimiterExample:Str= "Jpg|bmp|gif|ico|png";Arr=thestring.split ("|");Arr is an array that contains the character values "JPG", "BMP",
DOM: It is using JavaScript to manipulate HTML nodes.
Knowledge Points:
turning HTML into a DOM tree
Seeing HTML will draw a DOM tree.
Create nodes, add nodes, delete nodes
Varnodeobj = document.createelement ("node named"); To create an
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