Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set id to div element in Javascript

var divEle= document.createElement('div'); 
divEle.id='firstDivId';
Source by www.quora.com #
 
PREVIOUS NEXT
Tagged: #set #id #div #element #Javascript
ADD COMMENT
Topic
Name
5+3 =