invorke argument js code example
Example: js running function as parameter
function FuncOne(param1) //example function
{
//Do whatever
}
function FuncTwo(FuncOne, param1) //Function to call FuncOne w/ param
{
FuncOne(param1); //Write it like you would any normal function call
}