J
Jeremy Wray
Hello
On the surface this would seem quite simple, but I'm blowed if I can find a
way to do it.
Let's say I create a variable:
var my_object = new Object();
now, I want to find out the name of my object, eg. "my_object". How do I do
this? To make things clearer, say I want to alert out the name of my object,
I might try something like:
alert(my_object.name):
this doesn't work, however. Any help appreciated...Jeremy.
On the surface this would seem quite simple, but I'm blowed if I can find a
way to do it.
Let's say I create a variable:
var my_object = new Object();
now, I want to find out the name of my object, eg. "my_object". How do I do
this? To make things clearer, say I want to alert out the name of my object,
I might try something like:
alert(my_object.name):
this doesn't work, however. Any help appreciated...Jeremy.