96
rated 0 times
[
100]
[
4]
/ answers: 1 / hits: 66202
/ 14 Years ago, fri, september 17, 2010, 12:00:00
i hope this question is not too simple, but i have no idea :(
How can i start a function with a var in the function name?
For example ...
my functions
function at_26();
function at_21();
function at_99();
start the function
var test_id = 21;
at_'+test_id+'(); // doesn't work
I hope somebody can help me.
Thanks in advance!
Peter
More From » javascript