R
reycri
Hi,
Given the following code:
var func = new function("prm1", "prm2",
"... <access this function object's properties (prop1 and
prop2) here inside the body>...");
func.prop1 = 123;
func.prop2 = "abc";
...... <pass func as an async callback param to another object (eg:
prototype's Ajax.Request)>.....
Within the body of "func", what is the syntax to access this function
object's "prop1" and "prop2" properties?
Thanks in advance,
Rey
Given the following code:
var func = new function("prm1", "prm2",
"... <access this function object's properties (prop1 and
prop2) here inside the body>...");
func.prop1 = 123;
func.prop2 = "abc";
...... <pass func as an async callback param to another object (eg:
prototype's Ajax.Request)>.....
Within the body of "func", what is the syntax to access this function
object's "prop1" and "prop2" properties?
Thanks in advance,
Rey