If you define a class like

var MyCoolClass = Class.create({

  initialize: function() {
    // find out classname here


can you get the name of the class from within itself? After all it's
just a variable-name, but is it somehow accessible?

Thank you

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to