N
nuigiym2
Unregistered / Unconfirmed
GUEST, unregistred user!
请问用WebBrowser如何填写yahoo mail中textarea的内容
html中的代码:
<textarea name="Body" id="bodyfield" style="display:none;"></textarea>
<script type="text/javascript">
var editor = new RTEEditor(idGenerator);
editor.SetStationeryButton(true);
editor.SetStationeryEnabled(true);
editor.SetLocation("tw");
editor.SetIconVersion("1");
editor.SetEmojiButton(true);
editor.SetEmojiEnabled(true);
editor.SetFarmPath("http://tw.f29.mail.yahoo.tw/ym");
editor.SetSpellCheck(true);
editor.SetSpellCheckCB(SpellCheck_Click);
editor.SetAvatarEnabled("No-Value");
editor.Instantiate();
</script>
</div>
<input type=hidden name=Format id=Format value="html">
用WebBrowser1.OleObject.document.all.item('BODY',0).value:='提交内容';提交不了
好象是要汲及到javascript
求高手帮忙
html中的代码:
<textarea name="Body" id="bodyfield" style="display:none;"></textarea>
<script type="text/javascript">
var editor = new RTEEditor(idGenerator);
editor.SetStationeryButton(true);
editor.SetStationeryEnabled(true);
editor.SetLocation("tw");
editor.SetIconVersion("1");
editor.SetEmojiButton(true);
editor.SetEmojiEnabled(true);
editor.SetFarmPath("http://tw.f29.mail.yahoo.tw/ym");
editor.SetSpellCheck(true);
editor.SetSpellCheckCB(SpellCheck_Click);
editor.SetAvatarEnabled("No-Value");
editor.Instantiate();
</script>
</div>
<input type=hidden name=Format id=Format value="html">
用WebBrowser1.OleObject.document.all.item('BODY',0).value:='提交内容';提交不了
好象是要汲及到javascript
求高手帮忙