<BODY>\r\n
<DIV class=wiki>Replace this text with your own. <BR></DIV>
</BODY>

I have a DIV whose class is "wiki".   (It's in an iframe, but that
doesn't matter.)
I would like to manipulate the contents of this tag.  I know it can be
done with raw javascript, but I haven't been able to figure out how to
do it with Watir.  Any suggestions would be welcome.

The full html of the iframe is below:

irb(main):007:0> ie.frame(:id, "st-page-editing-wysiwyg").html
=> "<HTML><HEAD>\r\n<META content=\"MSHTML 6.00.2900.3059\" name=GENERATOR><LINK
 media=screen href=\"/static/2.11.5.2/css/st/screen.css\" type=text/css rel=STYL
ESHEET><LINK media=screen href=\"/static/2.11.5.2/css/st/ie.css\" type=text/css
rel=STYLESHEET><LINK media=screen href=\"/static/2.11.5.2/css/st/wikiwyg.css\" t
ype=text/css rel=STYLESHEET></HEAD>\r\n<BODY>\r\n<DIV class=wiki>Replace this te
xt with your own. <BR></DIV></BODY></HTML>"
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to