Selecting id of TextArea (despite RichEditableText)
Posted
by duder
on Stack Overflow
See other posts from Stack Overflow
or by duder
Published on 2010-06-17T02:27:32Z
Indexed on
2010/06/17
2:32 UTC
Read the original article
Hit count: 252
I'm trying to select the id of a textArea when it's focused in
<s:TextArea id="textarea1" focusIn="selectId(event)" />
selectId(event){
event.target.id;
}
Problem is TextArea is made up of RichEditableText so target doesn't actually refer to TextArea. I've tried event.target.parent.id but still not getting there. Anyone knows how to get to the bottom of this?
© Stack Overflow or respective owner