blob: 92691c843fc73f626fbe37b9c6055e19924aea6e [file] [log] [blame]
<textarea id="area" style="width:200px;height:200px">
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
Lots of content.
</textarea>
<script>
document.write(document.getElementById('area').scrollWidth + " " + document.getElementById('area').scrollHeight);
</script>