A
alkalsa
Hi, I want to have something like this:
function callme1() {
alert('somestuff');
}
function callme2() {
alert('somestuff');
}
function callme3() {
alert('somestuff');
}
function callme4() {
alert('somestuff');
}
etc.
except, it's going to be created in a loop, like
var x=0;
while (x<10) {
function callme[x]() {
alert('somestuff');
}
x++
}
So, out of that I would like to get 10 callme(1-10 or A-J) functions...
I guess I am lost which way to build this with the placement & parsing
of the variables. Could someone please help me with guidence?
function callme1() {
alert('somestuff');
}
function callme2() {
alert('somestuff');
}
function callme3() {
alert('somestuff');
}
function callme4() {
alert('somestuff');
}
etc.
except, it's going to be created in a loop, like
var x=0;
while (x<10) {
function callme[x]() {
alert('somestuff');
}
x++
}
So, out of that I would like to get 10 callme(1-10 or A-J) functions...
I guess I am lost which way to build this with the placement & parsing
of the variables. Could someone please help me with guidence?