Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Simple Methord to stop CRLF in textArea

$
0
0
Hi
i want to dibble the user from typing in CRLF, I want the text area to stay as 3 lines with no score bars

one approach is to the text types with an event activityinput.addEventListener(TextEvent.TEXT_INPUT,texteinput);

but i can not see to find a method to check for the \r

i.e. if(e.target.text == "\r") does not work

________________________________

Disclaimer: This electronic mail and any attachments are confidential and may be privileged. If you are not the intended recipient, please notify the sender immediately by replying to this email, and destroy all copies of this email and any attachments. Thank you.

Viewing all articles
Browse latest Browse all 5648

Trending Articles