Document directory
I. What is JavaScript?
Ii. Start of JavaScript programming
Iii. Implementation basics of JavaScript
Iv. Summary of this Chapter
From the beginning of college, I began to learn how to create web pages and began to access
JavaScript HTML DOMThrough the HTML DOM, you can access all the elements of a JavaScript HTML document.HTML DOM (Document Object model)When a Web page is loaded, the browser creates a Document object model for the page.With the programmable object
GetAttribute and setAttribute get and set object attributes:[Javascript]Function documentTest (){Var oHtml = document.doc umentElement; // obtain the elementVar oHead = oHtml. firstChild; // get Var oBody = oHtml. lastChild; // obtain OBody.
In the previous article to introduce a JavaScript jquery ajax summary, and then introduce JavaScript jquery and Ajax relationship, interested friends to study together
Simple summary:
1, JS is a front-end language.
2, Ajax is a technology, it
JavaScript HTML DOMThrough the HTML DOM, you can access all the elements of a JavaScript HTML document.HTML DOM (Document Object model)When a Web page is loaded, the browser creates a Document object model for the page. The HTML DOM model is
ArticleDirectory
Javascript Introduction
How to Implement Javascript
Where to place Javascript
Javascript statements
Javascript Variables
Javascript Operators
Javascript branch statement
Javascript message box
Difference:
Javascript
JavaScript is the most popular browser scripting language on the Internet. It's easy to use! You're going to love it!
JavaScript is used by millions of of pages to improve design, validate forms, detect browsers, create
This chapter covers the use of " string anywhere in your code. Because in accordance with the rules of parsing embedded code, when the browser encounters the string "", it is considered to be the end of the tag. This problem is solved by escaping
First, to build a basic document structure1. DOCTYPE elementsTell the browser: (1) It handles HTML documents, (2) The version of HTML that is used to mark the contents of the document, but the version number is not written.2. HTML elementsThe root
Document Object Properties and methodsThe above properties and methods can be used in HTML documents:
Properties/Methods
Description
Document.activeelement
Returns the currently acquired focus element
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.