Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

dom element set id

const el = document.createElement('div');
el.id = 'elementId';
 
PREVIOUS NEXT
Tagged: #dom #element #set #id
ADD COMMENT
Topic
Name
1+6 =