I am trying to create the name of a function dynamically:
I set the name in razor code:
@ { name="bob"; }
Then I try to create the javascript function, but the syntax is wrong.
function @name@:_onActivate() {
.....
}
How can I use @name in the name of the function?