Getting the box attribute "text"
Hey, I'm trying to get an objects text into javascript. By looking at the .maxpat file of a test project I discovered the following attributes of my MaxObj of interest:

So I copy pasted this into my js patch like following:

Now the output of this function:

As you can see, js behaved how I would expect to behave it, everything works, except for the maxclass, which is returned differently & the part i'm most interested in: the actual text of the object. How would I get that?
Thanks in advance!
shameless self-bump here. I still haven't found a solution for this.
Isn't that because you're checking for box-attrributes and the stuff you type in generally applies to properties of the object instead of the box? Isn't there a getobjectatrribute by any chance? Maybe that holds the info?
<"text" should be working>
I also had the problem today, and this seems to work: obj.getboxattr("boxatoms");
wow! seems to be working! thanks so much, how did you find it?
thanks 11olsen !!
also today i spent hours looking for this.