Hi,

I have requirement where I need to set some string value for DIV.

Here is my DIV content.

<div class="myclass" type="Text"></div>

I want to set the value so that it should become

<div class="myclass" type="Text">some vlaue</div>

I tried these options

browser.div(:class, 'myclass').set "value"

browser.div(:class, 'myclass').docuemnt.innerHTML="value"

It didn't work.

Can you please help me, if you can give any pointer to set the value for 
div.

Thanks.


-- 
-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to