Jump to content

Recommended Posts

Posted

Hi fellow Autoiters,

I'm using the IE UDF to help me extract some data from a webpage.

Before i can access this data however, i need to check a couple of checkboxes.

Becouse the HTML code is really weird, i can't figure out how to do this.

A copy of the webpage that im trying to gather the data from is:

http://home.invidium.nl/overig/magisterrr/MWPCijferPage.aspx.htm

(Note: this is not the real site, i cant show you that one, since its password protected. The HTML however is the same.)

The HTML of de checkboxes i need to be checked is:

<div id="c_tb_ctl11_ctl00_ddl_c0" class="ComboBoxItem_WindowsXP">

<input id="c_tb_ctl11_ctl00_ddl_c0_CheckBox" name="c$tb$ctl11$ctl00$ddl$c0$CheckBox" checked="checked" onclick="stopPropagation(event);" type="checkbox"><span class="cbbItem">Rap1 Rapport 1</span>

</div><div id="c_tb_ctl11_ctl00_ddl_c1" class="ComboBoxItem_WindowsXP">

<input id="c_tb_ctl11_ctl00_ddl_c1_CheckBox" name="c$tb$ctl11$ctl00$ddl$c1$CheckBox" onclick="stopPropagation(event);" type="checkbox"><span class="cbbItem">Rap2 Rapport 2</span>

</div><div id="c_tb_ctl11_ctl00_ddl_c2" class="ComboBoxItem_WindowsXP">

<input id="c_tb_ctl11_ctl00_ddl_c2_CheckBox" name="c$tb$ctl11$ctl00$ddl$c2$CheckBox" onclick="stopPropagation(event);" type="checkbox"><span class="cbbItem">Rap3 Rapport 3</span>

</div><div id="c_tb_ctl11_ctl00_ddl_c3" class="ComboBoxItem_WindowsXP">

<input id="c_tb_ctl11_ctl00_ddl_c3_CheckBox" name="c$tb$ctl11$ctl00$ddl$c3$CheckBox" onclick="stopPropagation(event);" type="checkbox"><span class="cbbItem">Rap4 Rapport 4</span>

</div><div id="c_tb_ctl11_ctl00_ddl_c4" class="ComboBoxItem_WindowsXP">

<input id="c_tb_ctl11_ctl00_ddl_c4_CheckBox" name="c$tb$ctl11$ctl00$ddl$c4$CheckBox" checked="checked" onclick="stopPropagation(event);" type="checkbox"><span class="cbbItem">ED4 Examendossier lj.4</span>

</div>

(line 190 till 198)

Could you guys please help me?

I'd really appriciate it! :);)

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...