I want to make a script that counts how many vector indexes I have inside new Array
.
Example
var array = new Array('001.html', '002.html', '003.html', '004.html', '005.html')
.. and add them in the HTML document, right in the body body
, something like:
<a href="001.html">1</a>
<a href="002.html">2</a>
<a href="003.html">3</a>
<a href="004.html">4</a>
<a href="005.html">5</a>
Getting this on the page:
1 2 3 4 5
I just need tips and / or small examples of how to achieve this.