vietnam929 Posted January 19, 2012 Share Posted January 19, 2012 (edited) I want to check 2 boxes in the html code below but they are not in any form so i can't use _IEFormElementCheckBoxSelect func. Pls help me to check them (.div class="mem_step"><ul class="step_4"><li><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/memstep_02_on.gif" width="134" height="135" alt="????????"></li><li><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/memstep_011_off.gif" width="134" height="135" alt="????????"></li><li><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/memstep_03_off.gif" width="134" height="135" alt="????????????"></li><li class="last"><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/memstep_051_off.gif" width="134" height="135" alt="????????"></li></ul></div><h3 class="mem_tit pad01"><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/tit_txt_agreement.gif" width="654" height="28" alt="????????????"></h3><h4 class="mem_tit_agree"><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/tit_txt_agreement_use.gif" width="88" height="32" alt="?????? ????????"></h4><div class="agree_text" style="height:175px;"><iframe src="/register/agreement/inline.jsp" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" style="height:173px;"></iframe></div><a name="pos0"></a><p class="agree_check"><span class="ajax_checkbox" onclick="javascript:getfocus();"><span class="checkbox-mark"></span><input type="checkbox" name="chk" id="chk" /></span><label for="agree01">본인은 위 이용약관에 동의합니다.</label></p><h4 class="mem_tit_agree" style="margin-top:25px;"><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/tit_txt_info_personal.gif" width="179" height="32" alt="개인정보 수집 및 이용에 대한 안내"></h4><div class="agree_text" style="height:135px;"> <iframe src="/register/agreement/personalInfoItem.jsp" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" style="height:133px;"></iframe></div><div class="agree_text" style="height:135px;"> <iframe src="/register/agreement/personalInfoPurpose.jsp" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" style="height:133px;"></iframe></div><div class="agree_text" style="height:135px;"> <iframe src="/register/agreement/personalInfoHold.jsp" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" style="height:133px;"></iframe></div><a name="pos1"></a><p class="agree_check"><span class="ajax_checkbox" onclick="javascript:getfocus();"><span class="checkbox-mark"></span><input type="checkbox" name="chk" id="chk" /></span><label for="agree02">회사의 개인정보 수집항목, 수집 및 이용목적, 보유 및 이용기간에 대한 내용에 동의합니다.</label></p><form name="form1" method="post" action="/register/register.nhn"> <input type=hidden name="nxtURL" value=""> <input type=hidden name="refCSS" value="hangame"> <input type="hidden" name="joinHost" value=""> <input type=hidden name="m" value="realname"> <input type=hidden name="foreigner" value=""></form><div class="mem_btn_area"><a href="javascript:void(sendit());"><img src="https://imgsec.hangame.com/images/renewal_2007/member/register/btn_agree_org.gif" width="60" height="29" alt="동의"></a></div><!--// Contents END --></div> Edited January 19, 2012 by vietnam929 Link to comment Share on other sites More sharing options...
Robjong Posted January 19, 2012 Share Posted January 19, 2012 Hi, Check out _IEFOrmGetCollection, _IEFormGetObjByName and _IEFormElementCheckboxSelect. That should get you started. If you encounter any problems just post back here (and post your code, it helps). Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted January 19, 2012 Moderators Share Posted January 19, 2012 vietnam929,This looks to me as if you are trying to automate the login to a gaming site - so you fail to follow the Forum Rules on 2 counts. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts