Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

html collection of elements to array

<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>

<script>
    const boxes = document.getElementsByClassName('box');
</script>
Source by www.gavsblog.com #
 
PREVIOUS NEXT
Tagged: #html #collection #elements #array
ADD COMMENT
Topic
Name
7+8 =