Displaying 1 result from an estimated 1 matches for "fdfa".
Did you mean:
fda
2005 Aug 29
9
can a class find out it''s instance name?
...ipt question....
Does the prototype object add some way for a class to find out the
variable name of its instance variable?
Or does javascript have some built in way to do this?
This is confusing to describe - but if I define a variable as some
object:
var myVariable= new Widget(''fdfa'');
can some built-in method inside the Widget class be called to find out
that this particular instance is named "myVariable"?
The reason is that this widget writes some html elements with the
Builder. I want one of the elements it writes to be a link to call a
method on...