Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

createElement with id javascript

g = document.createElement('div');
g.setAttribute("id", "Div1");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #createElement #id #javascript
ADD COMMENT
Topic
Name
1+6 =