F
Francois
Is it possible to automatically create an array on load page?
I want my script to be external.
(<script language="JavaScript" src="somescript.js"></script>)
Several pages should use this script. I have an unknown number of <DIV>
elements in each page, all with a unique id (ID="name"). I need an array
with all the names of these div-elements in it, the order is unimportant.
Can someone help me out here?
I want my script to be external.
(<script language="JavaScript" src="somescript.js"></script>)
Several pages should use this script. I have an unknown number of <DIV>
elements in each page, all with a unique id (ID="name"). I need an array
with all the names of these div-elements in it, the order is unimportant.
Can someone help me out here?