HELP!!!
I know how to call a javascript file using <script src:filename.js>. I really to call a javascript file depending on value of a variable. Please give me the code sample. Thanks a bunch.
In my HTML or Javascript code:
Let say the variable call count
The pseudo code: if (count == 1) {call help1.js}
if (count == 2) {call help2.js}
if (count == 3) {call help3.js}
Thanks a bunch.
I know how to call a javascript file using <script src:filename.js>. I really to call a javascript file depending on value of a variable. Please give me the code sample. Thanks a bunch.
In my HTML or Javascript code:
Let say the variable call count
The pseudo code: if (count == 1) {call help1.js}
if (count == 2) {call help2.js}
if (count == 3) {call help3.js}
Thanks a bunch.