Here's a quickie.
Basically, I want the width of a textarea element -- minus the width of the scrollbar if one is present. I could just use the clientWidth DOM property, but I don't know if this is cross-browser. I'm sure jQuery has some method (.width() returns the width including scrollbar), but I can't seem to figure out what it is.
Thanks!
clientWidth is cross browser compatible as reported by quirksmode.org (an authority on the matter.) http://quirksmode.org/dom/w3c_cssom.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With