Hi guys can i use value as a function name in JavaScript? i have some functions with same name input values such as:
var ta = $('li.ramin.active').attr("id");
var act = $('input[name="'+ta+'_acceptdeny"]:checked').val();
act(Freq, meID); // my question is
in this way i have error "Uncaught TypeError: act is not a function" yes i know act is not a function but i want to use var act value as function name!! so i need to know how i can do that? thanks to all