Today encountered a IE7 under the Json.parse failure problem. A troubleshooting Discovery: The server-side profile encoding is UTF-8 + BOM that the output string starts with the BOM character, not the legitimate JSON.IE7 does not support native JSON,
The Observer PatternThe Observer is a design pattern where an object (known as a subject) maintains a list of objects depending on it (observe RS), automatically notifying them of any changes to the state.When a subject needs to notify observers on
in programming, you have to convert a data type to another data type. Where a function or method call and a cast are called display transformations, conversely, the "intentional" conversion, in the case of "unknowingly", is called a hermit
1. Related element operation:var a = document.getElementById ("id");var B = a.nextsibling, find the next sibling element of a, note the spacevar B = a.previoussibling, find the previous sibling element of a, note the spacevar B = A.parentnode, find
1.document Properties Cookie-User Cookie Title-the text defined in the title tag of the current page URL--The URL of the current page Document represents the contents of an HTML document, so it can be used to represent elements
began to become interesting, but the third chapter is to understand the basic knowledge of the concept of interpretation of the relevant concepts, and did not go deep into the combination of code and the functions to be implemented in terms of usage
A GUID (global uniform identifier) is a number generated on a machine that guarantees that all machines in the same time and space are unique. Typically, the platform provides the API to generate the GUID. The generation algorithm is interesting,
One of these is that when you use a loop to create a new string, you use the join (), which is more efficient, often with push (); When you bind an action, you define the binding content that you want to execute as a function and then execute it.