Hi Frank,

Thanks for your help! It works great but i have another issue
that getTextSelection() only work well on FireFox or Chrome, it doesn't
work on IE8. I also test and see getTextSelectionStart() always return -1
with TextArea on IE8. Could you give me some idea.

Thanks and best regards,
Nam

On Thu, Nov 15, 2012 at 10:13 PM, Frank Wolbring
<[email protected]>wrote:

> Hi,
>
> the qooxdoo Textarea is abstracted from qx.ui.form.Abstract class, that
> provides you a function called getTextSelection(), that exactly does what
> you want. For more information about the widgets, I suggest you following
> link
>
> http://demo.qooxdoo.org/2.0.1/apiviewer/
> and http://demo.qooxdoo.org/devel/playground/ for playing around with the
> Widgets
>
> Hope that helps.
>
> cheers Frank
>
>
> On Thu, Nov 15, 2012 at 1:48 PM, Hoai Nam <[email protected]> wrote:
>
>> I think i have an issue with document.seletion.createRange().
>>
>> Ex: i have a textarea(qx.ui.form.TextArea) and its content is : "Some
>> text", when i select text from its content,  i tested and see
>> document.seletion.createRange().text always empty (it wrong, it must be a
>> text that i have selected),
>> document.seletion.createRange().parentElement().nodeName = BODY (it wrong,
>> it must be TEXTAREA).
>>
>> I first use qooxdoo, could you help me!
>>
>> ------------------------------------------------------------------------------
>> Monitor your physical, virtual and cloud infrastructure from a single
>> web console. Get in-depth insight into apps, servers, databases, vmware,
>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>> Pricing starts from $795 for 25 servers or applications!
>> http://p.sf.net/sfu/zoho_dev2dev_nov
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>
>>
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to