Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document get element by tag

var list = document.getElementsByTagName("UL")[0];
list.getElementsByTagName("LI")[0].innerHTML = "Milk";
 
PREVIOUS NEXT
Tagged: #document #element #tag
ADD COMMENT
Topic
Name
1+6 =