CreateElement |
Open Client Administration |
|
|
Purpose |
Creates a JavaScript HTML element and attaches it to its parent. |
Syntax |
|
Operation |
type is the type of element. parentNode is the parent element. properties is an object holding a collection of properties to be set up. |
Remarks |
Return value: The new element. |
Example |
proiv.createElement("DIV", document.body, {id:’abc’,style;{color:’red’}}); |
Topic ID: 800056