Link: http://blogs.msdn.com/ B /ie/archive/2004/10/26/247912.aspxI thought I 'd take a couple minutes to talk about script debugging and Internet Explorer.
Script debugging is turned off by default you can enable it by going:Tools-> Internet
Document directory
Additional reading
Today, when Internet connections are everywhere, we suddenly have another requirement: offline web. Gmail, Google Reader, zohoThese excellent web applications support offline use, thanks to Google gears.
1. Objects in JavaScript.
Objects in JavaScript are a collection of key-values of a set of data, which is somewhat similar to hashmap in Java. All the data is the property of the object. generally, an object created in Javascript is implemented
Link: http://dinguangx.javaeye.com/blog/656130,http://qinglangee.javaeye.com/blog/160888
Copy an array:
The operation object in Javascript adopts the reference method like that in Java. Therefore, if you use the obj2 = obj1 method to copy arrays,
The externalinterface APIPreviously, we used flash to call JavaScript functions. This method is generally used:Code:Geturl ("javascript: Alert ('Hello zhang-chao.com ');"); // note that the string is enclosed in double quotation marks with single
1. Call Javascript in ActionScript
The call () method requires at least one parameter to specify the JavaScript function name.
Externalinterface. Call ("changetitle ");
If the JavaScript function requires parameters, add the parameters in the call ()
The basic syntax structure of the window. open () method is as follows:
Window. Open (Surl, sname );
However, you can customize a new window by using two additional parameters:
Window. Open (Surl, sname [, sfeatures] [, breplace]);
By omitting
This is the second article by Nicholas discussing how to prevent scripts from getting out of control. It mainly discusses how to refactor nested loops, recursion, and functions that execute many sub-operations within the function at the same time.
The new date ("xxxx/XX/xx") Construction Method in Javascript has a wonderful effect. When you input "xxxx/XX/0" (0) the date obtained is the last day of the previous month of the month (the maximum value of the Month of "XX" is 69. If "" is input ",
Dom is a structured object model that provides a common access method for tag objects. html files are considered as a node tree. Each label and text is a node and can access each node and node content.
In this way, you can access HTML content
Javascript is a descriptive scripting language that is dynamically parsed and executed by browsers. There are two methods to define a function. The browser has different resolution sequence for different methods.
// Define the "defined"
These are pop ups created using JavaScript. The ones below come from the watir unit tests.
They wocould be created using JavaScript, and an example is shown under each of them.
Solution #1Http://rubyforge.org/pipermail/wtr-general/2005-April/001
In JavaScript, a function is a very basic object. It is also very casual and can be defined at will. It is more casual to use. The following describes how casual it is to declare a function in JavaScript.
Function fun1 () {// declare a function}
I believe everyone has played this game... Let me repeat the gameplay.
Gameplay: control the birds in the game. When you press the space, the birds will fly up, or the birds will fall down. During the flight, you cannot encounter yellow obstacles,
When reading Extjs Chinese manual today, I wrote four or five lines of sample code. As a result, IE and Firefox failed to report an error.
Check the Code:
HTML:
Code highlighting produced by Actipro CodeHighlighter
[Instance demo]
A few days ago, I used jquery to make a js image carousel effect. Now I use the native JavaScript code to implement the same function. When I use it for practice, I am not very satisfied with the code. Seeing the effect
1. ObjectObjects are one of the basic concepts of object-oriented programming. You only need to look at this name and you will know it. In our familiar object-oriented languages, such as Java or C ++, there are similar object definition methods. For
Original article from patrickavella.com 《5 Reasons Your Javascript Stinks. The translation is compiled by the IT team of the external journals 《Five Reasons for your poor Javascript technology.
The content of this article is as follows:
Javascript
These things are very basic, and you can understand them at a Glance. Some functions need to be remembered. Recently, I 've basically finished reading Javascript DOM programming art. I don't know much about Jquery. Let's take a look at it. Because
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