I want to call function from variable i got success but i want to call function and also pass parameters,how to do it. please let me know.
Below i have mention function which is working without parameter.
function myfunction(){
alert("hellow world");
}
var aa= "myfunction";
window[aa](); // working
function myfunction(param){
alert(param);
}
// .....?