Javascript| Object | control
A tree control is a familiar user interface control that is widely used to display hierarchical data.
The tree control has the unique ability to expand and fold branches, can display a large amount of information in a
Object
Document ObjectAn object that contains information about the current document.
Property
Title of the current document, if not defined, contains "untitled".
Location the full URL of the document.
LastModified contains the date the
Object
SCRIPT TagUsed to include JavaScript code.
Grammar
Property
LANGUAGE Definition scripting language
SRC defines a URL to specify a file that ends with. js
Windows object
The top-level object for each HTML document.
Author: JeggAt the end of the year, many companies are busy with the annual meeting, there will be some lottery activities, the following program is written in JavaScript with a simple lottery system to share with you.
This code borrows some of the
function | tips
function Funca () {FUNCB ();Other code}How to define function B so that B can not only terminate B itself while it is running, but also terminate the operation of function a?
This is an unconventional question and we discuss it in
Algorithm
Before learning bubble algorithm, always do not know the relationship between N and N-1, and other variables, the reason is not to understand its true meaning, today wrote a bubble algorithm of the JS applet, and finally figured out.var r1=
Skill
This is a blog about JavaScript, which I saw on the clang. The author introduced quite comprehensive, so reprinted to let interested friends to see. Oh ~ ~ ~ ~
There are times when you are proficient in a language, but it turns out that
Concept
Before you mention the above concepts, first of all, let's talk about the implied parameters of functions in javascript: arguments
Arguments
The object represents the function being executed and the arguments of the function that called it.
[
Pagination | client | Data thinking: With pure JS method, only by judging the current page of the file name, and then calculate the upper and lower page address, home and last need to configure in the script, and finally generate navigation code.
Tips | random | web | page Effects |
The random display of pictures is a very wide application technique. For example, the display of random banner, when you enter a website, its banner is always different, or there are always different tips (tips),
At the end of the year, many companies are busy with the annual meeting, there will be some lottery activities, the following program is written in JavaScript with a simple lottery system to share with you.
This code borrows some of the online
var posyoubiao:array = new Array ();
Posyoubiao[0] = 5;
For (I=1 iPre-set cursor position
Posyoubiao[i] = 5+ (i) *95;
}
function Youbiaomotion (no:number) {
Youbiaotarget = Posyoubiao[no];
Gets the coordinate position of the current cursor from the
Reference | objects | array sup () the text in the string into superscript (superscript) font ()
toLowerCase () turns text in a string to lowercase
toUpperCase () to capitalize text in a string
b.28 Submit Object
It is a property of the Form
Reference | objects | Names of array name option lists (name attribute)
Number of options in the Options list
Index of selected in the list of Selectedlndex options (location)
Text after marking in the Text option list (option)
value= attribute in
Array
JavaScript truncating an array by setting the length property of an array is the only one by one way to shorten the length of an array. If you use the delete operator to delete elements in an array, the length property of the array does not
Reference | objects | Number of frames within the length window of an array
The full (absolute) URL of the document displayed in the Location window (the property itself is also an object) do not confuse it with a document.location, which is the URL
Reference | objects | Array onselect selection Events
b.30 TextArea Object
It is a property of the Form object, a text area () in the universe.
Property
Default value of DefaultValue textarea object (value= attribute)Name of the object (Name=
2, the foreground text:
bgcolor
Can assign the initial color of the background here
r=255;
g=0;
b=0;
flag=0;
T=new Array;
O=new Array;
D=new Array;
function Hex (a,c)
{
T[a]=math.floor (C/16)
O[a]=c%16
Switch (T[a])
{
Case 10:
T[a]= ' a ';
Break
Reference | object | The reset button in the array reset form (1NPUT type= "reset" >) (the property itself is also an object)
Select box () in the Select form (the property itself is also an object)
Submit button in submit form () (the property
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