Is it possible to call a source script using <script src = "myscript.js"> and inside myscript.js, another source is being called?
i.e. myscript.js contains: <script src = "myscript2.js">
Thanks
Oops, nevermind, I think I fixed it. I removed the i++ right after my document.write in the for loop that I had included from another test code. I appreciate your help!
Thanks, the .length value is a really big help. However, when I run my script, the value corresponding to myArray[0] is left off (only the values in [1] and [2] are printed). If I start i = 0, shouldn't the [0] value be printed? Thanks.
Say I am writing a code like so:
Var[0] = 0
Var[1] = 1
Var[2] = 2
And I want to output the variables with a while loop so that they are output in a document.write(Var+'<br>') but that they stop outputting depending on the number in the Var[] brackets IF the number is NOT static -- that is the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.