You shouldn't need the document.getElementById call, just use the watir div
and it's document.

$ie.div(:id, 'mce_editor_0').document.innerhtml

I can manipulate all of the examples on the tinymce site with various
techniques, let me know if one of them is reasonably close to yours.


On Tue, Oct 14, 2008 at 1:46 AM, Charley Baker <[EMAIL PROTECTED]>wrote:

> puts or collecting the text from that call and printing it out doesn't
> work?
>
> -c
>
> On Mon, Oct 13, 2008 at 5:28 PM, wesley chen <[EMAIL PROTECTED]> wrote:
>
>> The send_keys below works
>> ie.send_keys("^a"); ie.send_keys("{delete}")
>>
>> but I can not prints out the text in the frame textarea when I use:
>> document.innerHtml
>> I use: $ie.document.getElementById("mce_editor_0").innerHtml, it executes
>> successfully but print nothing
>> --:)
>> Man should be hard to himself, but tolerant to others.
>>
>> >>
>>
>
>


-- 
Charley Baker
blog: http://charleybakersblog.blogspot.com/
Project Manager, Watir, http://wtr.rubyforge.org
QA Architect, Gap Inc Direct

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to