As front-end development is becoming increasingly intensive and Ajax and JSON are used more and more frequently, you must use a large number of tags in front-end development. If it is simpleCodeThe combination may be better, but if the page uses a
The usage of this summarized by one of my colleagues is quite comprehensive. I would like to share it with you.
Original article: http://blog.163.com/hongshaoguoguo@126/blog/static/18046981201251935720333/
It has been a long time since I started
Before talking about this question, let's add a few knowledge points. If you know more about this, you can skip it.
1. Components of most browsers
The three components at the bottom layer are the network, UI backend, and JS interpreter.
1.doc ument. write (""); Output Statement 2. the comments in JS are // 3. the traditional HTML document sequence is: Document-> HTML-> (Head, body) 4. the Dom sequence in a browser window is: window-> (navigator, screen, history, location, document)
ArticleDirectory
What it do
What it don't
Sparky
Sparklines are intense, simple, word-Sized Graphics. Sparky is a javascript library for drawing them dynamically in your web browser. In the words of Edward Tufte, who coined the term:
An escape string (escape sequence) is also called a character entity (character ).Entity ). In HTML, there are two reasons for defining escape strings: The first reason is that symbols such as "" are already used to represent HTML tags, so they
I recently read several JavaScript books and summarize some of the core concepts.
Scope in Javascript(Scope), ScopeChain (Scope chain), ExecuteContext (Execution Context), ActiveObject (Activity object), Dynamic scope (Dynamic Scope),
From: http://blog.csdn.net/fxh_hua/article/details/4433682 to find your own convenience
1. Create a link
2. Create a div
3. Create a form item
4. Create a table
4. Create a button, text box, and input values
The previous article aboutCookieOfArticle, Encapsulates cookie. js. Next we will use an instance to apply this Js.
The most common one is to remember the user name. After a user logs on once, the user's account and password are recorded through
1. What is Cookie?
Cookies are used to save information on pages, such as automatic logon and user name remembering. Ii. Cookie features
All pages on the same website share a set of cookies.
Cookie quantity and size limit
Cookie
Concat (str1, str2 ,···)
Connection string Indexof (STR, start)
Returns the position where STR appears for the first time in the string.
VaRSTR = "Hello World"; Str. indexof ("Hello ");//0Str. indexof ("O", 5 );//7Str. indexof ("world ");//-1
A cookie is the data stored on the user's local computer through a web browser. When the user accesses the web page again, the browser sends the data to the web page.
The most typical cookie is to determine whether a registered user has logged on
Class variables/class methods/instance variables/instance methodsFirst, add the methods that have been previously written:In JavaScript, all methods have a call method and an apply method. These two methods can simulate the object call method.
ArrayAs we have mentioned, objects are unordered data sets, while arrays are ordered data sets. Data (elements) in arrays are accessed through indexes (starting from 0,The data in the array can be any data type. The array itself is still an object,
Http://developer.51cto.com/art/201203/323308.htm
-------------------------------------------------- Overview of easy-to-use high-quality JavaScript libraries (1) Open Source China
I want to comment (0) Font Size:
T |
T
This article collects 15
When developing a program to be deployed in SharePoint, you must use Javascript to obtain the user information currently logged on to SharePoint.
The key issue here is how to obtain the username of the current logon. With the username, you can use
Var downloadLink = document. getElementById ('downloadfilelink ');DownloadLink. onclick (); // this sentence can't run in firefox
Solution:Add an onclick event to the tag
Code highlighting produced by Actipro CodeHighlighter
Next we will go on journey 6 to continue our JavaScript Dom journey 7. In this blog, we mainly made a few practical cases to practice the control layer, so that we can better understand this knowledge point, and these cases are basically used on the
Next we will go on journey 9 to continue our JavaScript Dom journey 10. This blog is my final version. It took nearly two months to finish writing this system. Here I am glad that I can keep writing it down, at the same time, I also learned not to
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.