Alibabacloud.com offers a wide variety of articles about document createelement form, easily find your document createelement form information here online.
The IFRAME name can be the target of the link or form, and the link or form can be opened to the IFRAME.I have encountered a problem in IE that I cannot set the IFRAME name attribute.
JavascriptCode
VaR IFRAME = Document. createelement ('iframe '
This article uses examples to briefly introduce the createElement event in javascript. For more information, see createElement. It is the concept of using W3C DOM to create a subnode, that is, a subelement, in HTML.
The Code is as
From lcx's blog
In the WEB standard, you can use getElementById (), getElementsByName (), and getElementsByTagName () to access any tag in the DOCUMENT:
1. getElementById ()GetElementById () can access a specific element in the DOCUMENT. As the name
JS Document attributes and Methods document. title // set the document title is equivalent to the title Tag document of HTML. bgColor // set the background color of the page document. fgColor // set the foreground color (text color) document.
JS Document attributes and methods. I hope you can understand them to facilitate future application development. Document. title // set the document title equivalent to the title tag of HTML
Document. bgColor // set the background color of the
When GOOGLE is used for query, the content is almost the same. But none of the things you want. For example, I cannot find how to use PYTHON to create an XML file written by the Chinese. Of course, direct file writing can achieve the same effect,
Document. title // set the document title equivalent to the title tag of HTMLDocument. bgColor // set the background color of the pageDocument. fgColor // set the foreground color (text color)Document. linkColor // The link color that has not been
JS Object Attributes
Document. title // set the document title is equivalent to the tag of HTML.
Document. bgColor // set the background color of the page
Document. fgColor // set the foreground color (text color)
Document. linkColor // The link
JavaScript ------ Document Object Model (DOM)
The Document Object Model (DOM) is a language platform that allows programs and scripts to dynamically access and update document content, structures, and styles. It provides standard HTML and XML
The example in this article is similar to saving HTML format data to XML. In the past, when a table is submitted, we usually create a new document. Now, as long as the document already exists, simply add it. The use of this technology is similar to
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.