Jump to content
Sign in to follow this  
vietnam929

proplem with checking box in IE.

Recommended Posts

vietnam929

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 by vietnam929

Share this post


Link to post
Share on other sites
Robjong

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).

Share this post


Link to post
Share on other sites
Melba23

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


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×