<div id="body"><form action="/post-create.do" method="POST" name="stuffform" id="stuffform" onsubmit="return checkForTrAndSubmitForm();"><input type="hidden" name="security_token" value="AOuZoY4mAgsdGhd7TaR4g_aVHXOb7LDC0Q:1242104600100"> <div id="statusmsg" style="display: none;"><h3 class="error">LỖI</h3> <div id="errormsgdiv"></div> </div> <input type="hidden" name="blogID" value=""> <input type="hidden" name="blogURL" value="<a href='http://testscrollmenu.blogspot.com/' class='bbc_url' title='External link' rel='nofollow external'>http://testscrollmenu.blogspot.com/"</a> id="blogURL"> <input type="hidden" name="toggleTime" value="1"> <input type="hidden" name="editorModeDefault" value="1"> <script type="text/javascript"> document.write("\x3cinput type\x3d\x22hidden\x22 name\x3d\x22javascriptEnabled\x22 value\x3d\x22true\x22\x3e"); </script> <noscript><input type="hidden" name="javascriptEnabled" value="false"></noscript> <input type="hidden" name="hideAutosaveTooltip" value="false"> <input type="hidden" name="changeLanguage" value="false"> <input name="securityToken" type="hidden" value="_HI7x7fezfMNm_zVeKN-C-to_ac:1242104600140"> <input type="hidden" name="postID" id="postID" value=""> <div style="width:90%;"><table cellpadding="5" cellspacing="0" border="0" id="titles"><tr><th><label for="f-title">Tiêu đề:</label></th> <td><div class="errorbox-good"><input type="text" name="title" value="" id="f-title" tabindex="1" class="text" onkeyup="setPreviewTitle(getTitle());" maxlength="150" dir="ltr" size="48"></div></td></tr> </table> <input type="hidden" name="enclosuresDataPresent" value="true"> <div id="enclosures"><table id="enclosures-table" border="0" cellspacing="0" cellpadding="2"><caption>Tệp đính kèm</caption> <thead><tr><th scope="col">URL</th> <th scope="col" nowrap>Loại MIME</th></tr></thead> <tbody> <tr id="new-enclosure-row"><td><div class="errorbox-good"><input type="text" name="enclosureUrl.new" value="" class="url text" dir="ltr" onchange="BLOG_suggestMimeType(this)" onblur="BLOG_suggestMimeType(this)"></div> <div class="error"></div> <div class="error"></div></td> <td><div class="errorbox-good"><input type="text" name="enclosureMimeType.new" value="" class="mime-type text" dir="ltr"></div> <input type="hidden" name="enclosureLength.new" value=""></td></tr></tbody> <tfoot><tr><td><div class="errorbox-good"></div> <script type="text/javascript"> document.write("\x3ca href\x3d\x22#\x22 onclick\x3d\x22BLOG_newEnclosure(); return false;\x22\x3eTh\xeam li\xean k\u1ebft \u0111\xednh k\xe8m\x3c/a\x3e"); </script></td> <td style="text-align:right"></td></tr></tfoot></table> <input type="hidden" name="enclosureCount" value="0" id="enclosure-counter"></div> /****************** this is for write post?****************/ <div id="RichEdit"><textarea name="postBody" rows="17" cols="47" id="textarea" wrap="soft" tabindex="5" dir="ltr"></textarea></div> <div id="labels-container"><table><tr><td rowspan="2" style="width: 15px"><img id="optionsTriangle" src="../img/triangle_ltr.gif" onclick="togglePostOptions()" alt=""></td> <td rowspan="2"><a href="#" onclick="togglePostOptions(); return false">Tuỳ chọn Bài đăng</a></td> <td width="1%" style="white-space:nowrap"><div id="label-directions"><b>Nhãn cho bài đăng này:</b><br> <span style="color: #555">ví dụ: <b>xe scutơ, kỳ nghỉ, mùa thu</b></span></div></td> <td width="1%" style="white-space: nowrap"><input type="text" name="postLabels" value="" autocomplete="off" id="post-labels" tabindex="6" dir="ltr"> </td></tr> <tr><td colspan="2"><div id="all-labels" style="display:none;">Tất cả Nhãn: <span class="label-list"></span></div></td></tr></table></div> <div id="postoptions"><div class="minwidth"></div> <div class="clear"></div> <div class="left-section"><div class="clear"></div> <label for="toggleComments"><b>Nhận xét của Người đọc</b></label> <br> <input type="radio" name="commentsMode" checked value="ON" id="cYes"> <label for="cYes">Cho phép</label><br> <input type="radio" name="commentsMode" value="HIDE" id="cNo"> <label for="cNo">Không cho phép</label> <br> <div class="clear"></div></div>
i tried this code:
$oForms = _IEFormGetObjByName ($oIE, "stuffform") ;$elements = _IEFormElementGetCollection($oForms,17) $opostBody = _IEFormElementGetObjByName ($oForms, "postBody") _IEFormElementSetValue ($opostBody, "hi all")
But not working, how to do it?





