I want a scrollable result table so I'm thinking I need to render the html table in a textarea. Can I do this? So far I've tried create a text node (of the table) and setting it as the value of the textarea but all I get is [object HTMLTableElement] in my display. How can I iterate thru the html table and render it and still make it functional (able to respond th events)?
posted 8 years ago
Text area is for plain text.
If you want to be able to scroll a table, put it inside of a scrollable div
<div style="width:100px;height:100px;overflow:auto;"> table here </div>