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