D
DL
Hi,
I haven't started coding yet but would like to think it through
first. What I'd like to do for the task is,
(1) display some text (approximately 300 to 1000 characters), to be
contained in either SPAN or DIV.
(2) then provide a small textarea input box/area right below it to
allow the user to input additional stuff, once complete. Info, we
don't know how much data the user is going to input into the Textarea.
(3) hide (1), that is, the SPAN or DIV in question and resize the
current textarea so that the extra spaces previously occupied by the
SPAN or DIV would disappear and now we have a read-only area that
displays the data inputted at step (2).
Question, how to dynamically determine the current size of the small
Textarea at this point?
Many thanks. Please let me know if I've not clearly described the
problem.
I haven't started coding yet but would like to think it through
first. What I'd like to do for the task is,
(1) display some text (approximately 300 to 1000 characters), to be
contained in either SPAN or DIV.
(2) then provide a small textarea input box/area right below it to
allow the user to input additional stuff, once complete. Info, we
don't know how much data the user is going to input into the Textarea.
(3) hide (1), that is, the SPAN or DIV in question and resize the
current textarea so that the extra spaces previously occupied by the
SPAN or DIV would disappear and now we have a read-only area that
displays the data inputted at step (2).
Question, how to dynamically determine the current size of the small
Textarea at this point?
Many thanks. Please let me know if I've not clearly described the
problem.