I have a function in JavaScript:
function alertMe($a)
{
alert($a);
}
Which I can execute like this: alertMe("Hello");
I want to do is assign alertMe("Hello") with the "Hello" parameter to a variable $func, and be able to execute this later by doing something like $func();.