It works fine, as in the demo, on a box with autofit height, showing the new height value once the height changes. However, once I change the autofit element from height to width, and change the js command to “data-label=headline] .text”).width())); it does not return the new box width value, only the original width.
Thanks… Actually that looks like it is just a typo in the forum post, not in my code (I’ll correct it). It is not throwing an error… what it’s doing when I ask for the pixel value of the text box once the text inside it has changed is that only returns the pixel value of the original width. It’s weird as it does not do this when I set it to height.