I
intrepid_dw
All;
As the subject implies, I'm wondering if there is anything resembling a
Javascript equivalent of a MeasureString method?
I am dynamically constructing a dialog box with a user-specified
message, and I might need to resize the box based on the length of the
message, but I've not found anything that might suggest how I can
determine the length of a string rendered in the current browser
window's font.
Thanks for any help.
-intrepid
As the subject implies, I'm wondering if there is anything resembling a
Javascript equivalent of a MeasureString method?
I am dynamically constructing a dialog box with a user-specified
message, and I might need to resize the box based on the length of the
message, but I've not found anything that might suggest how I can
determine the length of a string rendered in the current browser
window's font.
Thanks for any help.
-intrepid