Sina Weibo each Weibo will have a mid, and each Weibo has a separate address, for example: http://www.weibo.com/2722086301/Bw3sxzwzpRule: The yellow part of the address is the user ID, the green part is the micro-bo identification string, after
3 Ways to/** * JavaScript Object methods The Third kind of execution efficiency is best */function P (name, age) {this.name = name; this.age = age;//First Method this.show = function () {alert (this.name);} This.doing = doing; }//the second method
Article transferred from http://www.w3school.com.cn/jsref/jsref_replace.asp
character
Replace text
$, $ 、...、
The text that matches the 1th to 99th sub-expression in RegExp.
$&
A substring
I want to traverse the JSON object tree, but why can't I find any library. It seems to be not difficult, but it feels like reinventing the wheel.There are many tutorials in XML that show how to traverse the XML DOM Tree: (Workaround 1:If you think
5.2.2, let the waterfall flow.Once you have a good infrastructure, you need to write JavaScript code. First, if the data is not enough to display a screen, the new data to complement it, in the supplement is based on the 4 column of the shortest one
1. Data type: 1) Primitive Type: String Boolean number Null undefiend 2) Reference type: Object ..... Summary: Why is the cliché data type? What do they have in the development of the data type, I never wonder if NULL is an object type or a
HTML5 added a few document character set properties.Document.charset: Represents the actual character set used by the document.Document.defaultcharset: Represents the default character set, which is related to the browser and operating system
JavaScript Event List commentary on JavaScript event listEvent Browser Support CommentaryGeneral event onclick IE3, N2 trigger this event when mouse clicksOnDblClick IE4, N4 triggers this event when the mouse double-clicksOnMouseDown IE4, N4
In PHP + MySQL (date type datetime) + AJAX applications, it is sometimes necessary to format the timestamp type as a generic time-type format using JavaScript. Here are some of the ways to convert and compare some common summaries. Xiping County
In the process of learning JS, found this guy do special effects is very good, although said the current level is not enough, but also can write a simple effect. Share a simple motion framework today and use this framework to achieve simple chain
Recently reading "JavaScript Advanced Programming", it is forgotten to read the content, it is intended to do some reading notes in the form of a blog. Today is about four ways to define objects in JavaScript, in addition to these four methods,
Before learning about the variable scope of JavaScript, we should make a few clear points:
The variable scope of JavaScript is based on its unique scope chain.
JavaScript does not have block-level scopes. Xianning Center Primary School
http://www.yaosansi.com/post/747.html Exception Handling OverviewIn the process of code, errors are unavoidable, in general, the error occurs in two cases: first, the logic or syntax errors inside the program, the second is the operating environment
Learning notes for CSS3 selector, css3 Selector
First, the first-child and last-child selectors are easy to understand, that is, the first child element and the last child element under the parent element. Nth-child and nth-last-child are child
Use var in javascript to define the effect of variable pre-Compilation
Note: The javascript syntax is very flexible. The flexible cost is that it can easily lead to nonstandard coding and unexpected running results. ECMAScript 5 introduces strict
JavaScript function mode
Syntax for creating a function
Name function expression
The Code is as follows:
// Name function expression
Var add = function add (a, B ){
Return a + B;
};
Function expression
The Code is as follows:
// Also known as
HTML + JavaScript implement chain motion effects
In the process of learning js, I found this guy is really good at doing special effects. Although the current level is not enough, it can also write some simple results. Today, I will share a simple
Extjs4.2 Desktop icon dragging white screen Solution
Last time I made a desktop demo of extjs4.2, I stripped the desktop from the original package, and changed the desktop icon columns and dragged the desktop icon, however, if you drag the desktop
Five front-end development tools worth trying and five front-end development tools
In the past few years, many brand-new Web applications have emerged. However, as the functions of applications become increasingly rich, the complexity of front-end
Miscellaneous: HTML 5 page visibility API, miscellaneous api
Http://www.ido321.com/1126.html.
Original article: HTML5 Page Visibility API
Translation: HTML 5 page visibility API
Translator: dwqs
In the early days, the browser did not provide tabs,
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