Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

get id javascript

async function test (){
  document.body.innerHTML = await "<foo id='successGetID'>Hello Wolrd</foo>";
	var init = await document.getElementsByTagName("foo")[0].id;
	alert( init );
}
test();
 
PREVIOUS NEXT
Tagged: #id #javascript
ADD COMMENT
Topic
Name
3+3 =