var strFun = "someFunction"; //Name of the function to be called var strParam = "this is the parameter"; //Parameters to be passed in function //Create the function var fn = window[strFun]; //Call the function fn(strParam); //javascript/8779