Ok then, your only solution, as far as I know, i eval():
PHP Code:
<script> function test1() { alert('test1'); }
function test2() { alert('test2'); }
myArray = new Array(); myArray[0] = "test1"; myArray[1] = "test2";
// I really thought this would work, but it didn't eval(myArray[0]+'();'); </script>
__________________
Listen to the ducky: "This is awesome!!!"
|