Java Script Text Area Problem
Joshua K
goodtimetribe at gmail.com
Fri Jan 31 17:13:44 UTC 2014
Hi Dan. It seems like the textbox value is being incorrectly initialized or erroneously appended/prepended with an extra line feed or carriage return. Check the code there. It could be a concatenation where it should be an assignment.
On January 31, 2014 10:27:19 AM CST, Dan Healy <dfhealy at gmail.com> wrote:
>I have an application where a student is presented with a question and
>the
>cursor is put at the beginning of a text area where he can enter the
>answer. After entering his answer, when he hits the enter key, his
>answer
>is checked against the correct answer. If his answer is incorrect, I
>want
>to clear the text area and return the cursor to the beginning of the
>text
>area.
>
>What happens is the text area is cleared, but the cursor goes to the
>second
>line of the text area and he has to hit the backspace key before
>entering a
>new answer.
>
>This seems like a straight forward coding problem, but I have been
>working
>on it for over a year and can't make it work correctly. Any ideas
>would be
>greatly appreciated.
>
>Thanks, Dan H
>
>
>------------------------------------------------------------------------
>
>--
>Ubuntu-us-tx mailing list
>Ubuntu-us-tx at lists.ubuntu.com
>Modify settings or unsubscribe at:
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-tx
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-tx/attachments/20140131/58cf940d/attachment.html>
More information about the Ubuntu-us-tx
mailing list