[wtr-general] Re: Assigning Div content a Text Value

2008-12-01 Thread Nathan Lane
You must have some kind of JavaScript support in your Web Application to do that -- Watir just controls the browser -- it doesn't provide a way to manipulate your web page -- your web page must be all-inclusive of itself, so if you want your DIV to be able to have text added, then your web page

[wtr-general] Re: Assigning Div content a Text Value

2008-12-01 Thread Paul Rogers
i think you can do this, Id just question why you want to do this. body_div = ie.div(:id, 'EditorBody') body_div.document.innerText='Hellow World!' is whtat I think you need Paul On Mon, Dec 1, 2008 at 7:55 AM, Nathan Lane [EMAIL PROTECTED] wrote: You must have some kind of JavaScript