Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set id to div element in Javascript

var divEle= document.createElement('div'); 
divEle.id='firstDivId';
 
PREVIOUS NEXT
Tagged: #set #id #div #element #Javascript
ADD COMMENT
Topic
Name
6+5 =