What is Microsoft Ajax library?· Client section of ASP. NET Ajax· Client-only framework (independent from the server)· Provides JS extensions and base class libraries
Common native types in javascript:· Object· Arrary· Error· Function· Boolean· Number· Date· String
Boolean native type and its extensionNew Boolean (false) True = true;// New Boolean (false) indicates an object. If the object exists, true
Recently, PDC showed the new features of ASP. NET Ajax 4.0, so I picked up Microsoft's Ajax again. To facilitate viewingCodeOn the Internet, I found ASP written by Eilon Lipton. net Ajax JavaScript class browser. I was amazed at the fact that something could still be used more than a year ago. At the same time, I found that it was not very easy to use, so I modified it and added some features based on it, such as the ability to browse various methods,
ECharts, a javascript interactive chart Library, is used as an example ., EchartsjavascriptDownload echarts-plain.js2, the new index.html, And the downloaded echarts-plain.js to the same directory.
JavaScript Runtime Library Method
Description
Language Elements
Add a key-value and project pair to the Dictionary object.
Add method (Dictionary)
Add a new Folder to the Folders set.
Add method (Folders)
Attaches a name to an existing path.
BuildPath Method
Close an opened TextStream file.
Close Method
Copy a specified file or folder from
Viewer.js Introduction http://viewerjs.org/Download Viewer.js package, unzip the Viewerjs folder in the root directory of the siteEnter the URL Http://172.16.8.80/ViewerJS in the browser address bar to display the results as shown belowEnter the URL http://172.16.8.80/ViewerJS/#../123.ods and display the results as shown belowEnter the URL http://172.16.8.80/ViewerJS/#../456.pdf and display the results as shown belowODP and ODT Two formats have not been converted successfully, still need to be s
handle keyboard events, and pressing any key on the keyboard triggers the onkeypress event. In some browsers, even the TAB key is included.In almost all browsers, using the TAB key to move to a link and press ENTER will also trigger the OnClick event.Five. DOM Core and Html-dom:1. Dom Core: Not specifically for JS, any programming language that supports the DOM can use them. The use is not limited to processing Web pages, they can be used to process documents written in any one markup language,
This article mainly introduces the JavaScript Runtime Library attributes. For more information, seeDescription Language Elements in TextStream files, if the file pointer crosses the end of the line flag, True is returned; otherwise, False is returned. If the AtEndOfLine attribute is at the end of the TextStream file, True is returned; otherwise, False is returned. Set the AtEndOfStream attribute or return t
The contents of this chapter:1. Preparation of a good marking document;2. Write a JavaScript function to display the picture that the user wants to see3. Trigger function call by tag4. Use several new methods to expand this functionDom Properties:1,childnodes property: Can be used to get all the child elements of any one element, he is an array containing all the child elements of this element; The array returned by the ChildNodes property contains al
Because top-level objects use almost all functions of the class library, they are frequently entered in encoding. Therefore, when designing class libraries, the simplicity of top-level Object Name input is also very important.Here, we will compare the length of the Object Name and the key order of the input object name among the three class libraries, and strive to take care of some special points, this gives a comprehensive evaluation result.Name Len
// construct cache function memoizer = function var shell = function (n) { var result = Memo[n]; if (typeof result!== ' number ' Span style= "color: #000000;" {result = fundamental (shell, N); Memo[n] = result; return result; }; return Shell;}; JavaScript function Library
One, download Echarts-plain.js Two, create a new index.html, and place it in the same directory as the downloaded echarts-plain.js.Echarts, a JavaScript Interactive chart library, using examples.
This article will introduce a Cross-browser library class, Zero Clipboard. It uses flash to replicate, so as long as the browser is equipped with Flash can run, and more than IE Document.execcommand ("Copy") more flexible.
The realization principle of Zero Clipboard
Zero Clipboard uses Flash for replication, preceded by a Clipboard copy solution, which utilizes a hidden flash. But the latest Flash Player 10 only allows operations on flash to start th
A JavaScript class library for table content sorting. It's easy to use and you don't have to call the database every time.
Especially suitable for the sorting of multiple table queries. Plus the style.display switch, you can also achieve pagination.
Effect Demo
Usage:
1. Add JS
QUOTE:
The following is a reference fragment:
2. Add table, Note: Must have id,class for "sortable"
QUOTE:
OK, tha
depend on type judgment.
Supports the method chain, which makes the code more fluid to write.
In the penultimate chapter, there is one more chapter to be finished. Although the content of this chapter is not much, I seem to be struggling with these chapters because I can't find the focus. How much of the code directly determines the degree of understanding of the article, this chapter can be written in some code back and then look again and again, after mastering the ability to become
Preface Library is a controversial topic. One idea is that it is a great tool and indispensable to any developer; another idea is that the dependency on the database without the internal working principle of the database can contribute to the laziness and lead to a decline in the quality of developers. But in any case, it seems that everyone agrees to write their own libraries. Besides, it is meaningful to merge the things they use in daily life toget
The text copy and clipboard function shared in this article does not depend on the falsh plug-in or any js library. if you are interested, let's take a look at it as follows:
We place a copy button on the webpage to facilitate users to copy complex texts such as links. in the past, JavaScript relied on Flash, even using jQuery's huge js Library to copy text to
Preface
Library is a controversial topic. One idea is that it is a great tool and indispensable to any developer; another idea is that the dependency on the database without the internal working principle of the database can contribute to the laziness and lead to a decline in the quality of developers. But in any case, it seems that everyone agrees to write their own libraries. Besides, it is meaningful to merge the things they use in daily life toge
. element. query (selector). At this point, Ext has pushed some common functions to the Ext object, such as Ext. element. fly to Ext. fly, Ext. domQuery. select to Ext. query, but in terms of the total amount of code, it is inferior to jQuery.
KISSY combines the modular structure of Ext and introduces the problem that the function access path of Ext is too long, because the with statement in Javascript has such a problem, using aliases to replace obje
Save the following code as Common. js
Class library function:
1. Trim (str) -- remove spaces on both sides of the string
2. XMLEncode (str) -- encode the string in XML format.
3. ShowLabel (str, str) -- mouse prompt function (display character, prompt character)
You can set the font, color, size, background color, and border of the displayed prompt text.
4. IsEmpty (obj) -- verify that the input box is empty
5. IsInt (objStr, sign, zero) -- verify whe
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.