Features, methods
Type, return type
Description
NodeName
String
The name of the node, as defined by the node type
NodeValue
String
The value of the node, as defined by the type of the node
I'll introduce and parse 12 simple but powerful JavaScript tricks. All JavaScript programmers can use them right away, and you don't need to be a JavaScript guru to understand this. If you're still a beginner, and you've read all of these tips and
Each function has a prototype property, which is a reference to an object called the prototype object, which contains the methods and properties shared by the function instance, that is, when the function is used as a constructor call (called with
Gets the list under the current site (child site instead of site collection)var clientcontext = new SP. Clientcontext.get_current ();var list=clientcontext.get_web (). Get_lists (). Getbytitle ("list name");Other sub-stationsvar clientcontext = new
The Date object is an internal data type of JavaScript.The Date object has no properties that can be read and written directly, and all access to date and time values is performed through its methods.Date and time of day returned by date ()GetDate ()
(1) Comparison of values--comparison of referencesFirst, the comparison of the original values is the comparison of the values: they are equal only when their values are equalLike a simplevar a1 = Ten; var a2 = Ten//trueSecond, the comparison of
Http://blog.163.com/[email protected]/blog/static/8304612620122834121264/The first step: Create an object that can translate the file into a file stream.Var fso=new ActiveXObject (Scripting.FileSystemObject);Step two: Used to create a TextStream
Closures (closure) are a difficult and unique feature of the JavaScript language, and many advanced applications rely on closures.Here is my study note, which should be useful for JavaScript beginners.The scope of a variableTo understand closures,
Today is March 16, 2015, New Date () on IE 6 is returned to the background server in a string format of "Mon Mar 00:00:00 UTC 0800" While the word returned in Firefox, Chrome, or high-version ie The string is "MonMar 00:00:00 GMT 0800", so the two
JavaScript errorTry Catch throwTry to test the code block for errors.Catch handling error.Throw creates or throws an exception, which can be a JavaScript string, a number, a logical value, or an object.Finally the statement executed after the try
Yesterday to soak up the majority of days of the book Hall, a breath of reading the "JavaScript Grammar essence" of the books, the overall book is still written well, no wonder so many recommendations. "The essence of JavaScript grammar" is mainly
Display: none; and visibility: hidden;, visibilityhidden
If you want to disable the display of a piece of code on the front end, you can simply use the display: none of css, in this way, the content below is automatically moved up or left on the
JavaScript variables, scopes and memory, javascript
JS variables are the essence of a loose type (not forced type), which determines that they are only used to save a name for a specific value at a specific time;Because there is no rule to define
Css id selector (3) and cssid SelectorI. ID Selector
The ID selector uses the "#" prefix identifier for identification, followed by the ID name of the specified element.
For example
#box{ width:100px; height:100px;}
The element ID name is unique
Example of how to use the string split function in JavaScript
Let's take a look at the following code:
1 2 3 4 5 6
The output result is as follows:
1 2 3
How, are, you, doing, today? H, o, w,
How to use JavaScript to obtain the values of all elements in a form
This example describes how to use JavaScript to obtain the values of all elements in a form. Share it with you for your reference. The details are as follows:
The following JS Code
JQuery uses the hide method to hide specified elements on a page
This article mainly introduces how jQuery uses the hide method to hide specified elements on a page. It involves jQuery's tips for hiding Elements Using hide and has some reference
Use AngularJS to access the image library of the Android mobile phoneThis article mainly introduces how to use AngularJS applications to access the image library of Android mobile phones. For more information, see
Download angularjs.zip-4.5
JavaScript converts an array to a CSV format, using javascriptcsv
This example describes how JavaScript converts an array to a CSV format. Share it with you for your reference. The specific analysis is as follows:
The valueOf method of the array
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