You can find similar editable div on facebook main page (the status
composer box showing "What's on your mind?"). It doesn't seem to be in
a frame.

Karim's solution works. Thanks Karim!

Peng

On Sep 21, 6:59 am, Wesley Chen <cjq....@gmail.com> wrote:
> It must be in a frame.
>
> You may use:
> ie.frame(...).document.body.focus
> ie.send("hello")
>
> Thanks.
> Wesley Chen.
> The easier, the better.
>
>
>
> On Fri, Sep 18, 2009 at 1:39 PM, karim rayani <karim....@gmail.com> wrote:
>
> > Why not use Javascript commands,
>
> > there is a technique to insert/execute javascript commands as well,
> > that would be a better direct way
>
> >http://karimnumerouno.wordpress.com
>
> > On Fri, Sep 18, 2009 at 10:45 AM, Prajakta Jadhav
> > <jadhav.praja...@gmail.com> wrote:
> > > Can you post the html code of this page?
> > > Are there any frames outside the div?
>
> > > On Fri, Sep 18, 2009 at 5:34 AM, Brian Rosenthal <
> > brosent...@facebook.com>
> > > wrote:
>
> > >> Hi,
>
> > >> We’re using an “editable div”, and we need to be able to set its
> > contents
> > >> using Watir (in IE).  What’s the best way to do that?
>
> > >> It doesn’t seem to respond to IE.text_field(...)... And
> > >> IE.div(...).innerHTML does not work (nor set).
>
> > >> (this syntax)
> > >> <div contenteditable="true"></div>
>
> > >> Thanks,
> > >> Brian
>
> > --
> > Regards,
>
> > Alkarim Rayani

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

Reply via email to