Skip to content
Skip to search - Accesskey = s
parentNode.org
The building blocks of a solid frontend.
Pasted
by
testing
on
2010-03-05 09:33
as
Plain Text
Create New
http://pastebin.parentnode.org/
Links this one
http://pastebin.parentnode.org/103444
Comment
aargh
<html> <body> <script type="text/javascript"> var myCars=new Array("One","Two","Three"); var myName=new Array("Red","Blue","Green"); for (i=0;i<myCars.length;i++) { document.write(myCars[i] + "<br />"); var ButtonLinkmyCars[i] = document.createElement( "a" ); var ButtonTextmyCars[i] = document.createTextNode( myCars[i] ); ButtonLinkmyCars[i].setAttribute("href","javascript:play('myName[i]');"); ButtonLinkmyCars[i].appendChild( ButtonTextnine ); document.appendChild( document.createTextNode( " " ) ); document.appendChild( ButtonLinkmyCars[i] ); } </script> </body> </html>