Sign in to follow this  
Followers 0
Mithrandir

Problem with _IEFormElementOptionSelect: No error but it doesn't select the option

3 posts in this topic

#1 ·  Posted (edited)

I want to select an option in an object that has the <SELECT tag. After selecting one of them, it navigates to another page. Here's the code of the page:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<link title=" Style" href="templates/plugmod/styles/rl_style_pm.css" rel="stylesheet" type="text/css" />

<title></title>

<script type="text/javascript">

/* <![CDATA[ */

var php_js_strings = [];

php_js_strings[87] = " Por favor espera <b>%1$s</b> segundos...";

php_js_strings[281] = "Hora Local";

pic1= new Image();

pic1.src="templates/plugmod/images/ajax-loading.gif";

/* ]]> */

</script>

<script type="text/javascript" src="classes/js.js"></script>

<script type="text/javascript" src="classes/sorttable.js"></script>

</head>

<body>

<center></center><br /><div align="center"><p>Conectado a: <b>fs458dm.fileserve.com</b>...</p>Archivo <b>Bloomberg_Businessweek_2011-06-13S370.pdf</b>, Tamaño <b>35.64 MB</b>...<br /><br />

<table align="center" cellspacing="0" cellpadding="0" class="transloadui">

<tr>

<td></td>

<td>

<div class="progressouter">

<div style="width:298px">

<div id="progress" class="progressdown"></div>

</div>

</div>

</td>

<td></td>

</tr>

<tr>

<td align="left" id="received">0 KB</td>

<td align="center" id="percent">0%</td>

<td align="right" id="speed">0 KB/s</td>

</tr>

</table>

<br />

<div id="resume" align="center"></div>

<script type="text/javascript">

/* <![CDATA[ */

function pr(percent, received, speed)

{

document.getElementById("received").innerHTML = '<b>' + received + "<\/b>";

document.getElementById("percent").innerHTML = '<b>' + percent + "%<\/b>";

document.getElementById("progress").style.width = percent + '%';

document.getElementById("speed").innerHTML = '<b>' + speed + " KB\/s<\/b>";

document.title = percent + '% Descargado';

return true;

}

function mail(str, field)

{

document.getElementById("mailPart." + field).innerHTML = str;

return true;

}

/* ]]> */

</script>

<br /><script type="text/javascript">pr('0.33', '121.17 KB', '476.22');</script><script type="text/javascript">pr('0.66', '241.37 KB', '2078.97');</script><script type="text/javascript">pr('0.99', '361.56 KB', '2255.81');</script><script type="text/javascript">pr('1.32', '481.76 KB', '4045.3');</script><script type="text/javascript">pr('1.65', '601.95 KB', '4084.53');</script><script type="text/javascript">pr('1.98', '722.15 KB', '4228.95');</script><script type="text/javascript">pr('2.31', '842.34 KB', '4417.92');</script><script type="text/javascript">pr('2.64', '962.54 KB', '11451.5');</script><script type="text/javascript">pr('2.97', '1.06 MB', '4410.96');</script><script type="text/javascript">pr('3.31', '1.18 MB', '10423');</script><script type="text/javascript">pr('3.64', '1.30 MB', '5083.9');</script><script type="text/javascript">pr('3.97', '1.42 MB', '5375.13');</script><script type="text/javascript">pr('4.3', '1.53 MB', '11452.55');</script><script type="text/javascript">pr('4.63', '1.65 MB', '5709.38');</script><script type="text/javascript">pr('4.96', '1.77 MB', '11518.59');</script><script type="text/javascript">pr('5.29', '1.89 MB', '6279.76');</script><script type="text/javascript">pr('5.62', '2.00 MB', '11455.67');</script><script type="text/javascript">pr('5.95', '2.12 MB', '11518.59');</script><script type="text/javascript">pr('6.28', '2.24 MB', '6790.01');</script><script type="text/javascript">pr('6.61', '2.36 MB', '11350.78');</script><script type="text/javascript">pr('6.94', '2.47 MB', '7715.08');</script><script type="text/javascript">pr('7.27', '2.59 MB', '11487.57');</script><script type="text/javascript">pr('7.62', '2.72 MB', '3319.96');</script><script type="text/javascript">pr('7.97', '2.84 MB', '39907.75');</script><script type="text/javascript">pr('8.32', '2.97 MB', '30187.52');</script><script type="text/javascript">pr('8.65', '3.08 MB', '14209.55');</script><script type="text/javascript">pr('8.98', '3.20 MB', '10346.73');</script><script type="text/javascript">pr('9.31', '3.32 MB', '9270.72');</script><script type="text/javascript">pr('9.64', '3.44 MB', '11330.34');</script><script type="text/javascript">pr('9.97', '3.55 MB', '6973.46');</script><script type="text/javascript">pr('10.3', '3.67 MB', '11306.93');</script><script type="text/javascript">pr('10.63', '3.79 MB', '8270.21');</script><script type="text/javascript">pr('10.96', '3.90 MB', '9681.4');</script><script type="text/javascript">pr('11.29', '4.02 MB', '8499.67');</script><script type="text/javascript">pr('11.61', '4.14 MB', '9968.44');</script><script type="text/javascript">pr('11.94', '4.26 MB', '11184.81');</script><script type="text/javascript">pr('12.27', '4.37 MB', '8513.04');</script><script type="text/javascript">pr('12.6', '4.49 MB', '10366.12');</script><script type="text/javascript">pr('12.93', '4.61 MB', '8906.05');</script><script type="text/javascript">pr('13.26', '4.73 MB', '205.66');</script><script type="text/javascript">pr('13.59', '4.84 MB', '3695.39');</script><script type="text/javascript">pr('13.92', '4.96 MB', '3987.49');</script><script type="text/javascript">pr('14.25', '5.08 MB', '4430.17');</script><script type="text/javascript">pr('14.58', '5.20 MB', '5650.23');</script><script type="text/javascript">pr('14.91', '5.31 MB', '11472.39');</script><script type="text/javascript">pr('15.24', '5.43 MB', '11520.7');</script><script type="text/javascript">pr('15.57', '5.55 MB', '6278.82');</script><script type="text/javascript">pr('15.9', '5.67 MB', '11531.79');</script><script type="text/javascript">pr('16.23', '5.78 MB', '6796.16');</script><script type="text/javascript">pr('16.55', '5.90 MB', '11470.03');</script><script type="text/javascript">pr('16.88', '6.02 MB', '7004.81');</script><script type="text/javascript">pr('17.21', '6.14 MB', '11180.59');</script><script type="text/javascript">pr('17.54', '6.25 MB', '7446.06');</script><script type="text/javascript">pr('17.87', '6.37 MB', '11278.04');</script><script type="text/javascript">pr('18.2', '6.49 MB', '7628.32');</script><script type="text/javascript">pr('18.53', '6.60 MB', '11431.74');</script><script type="text/javascript">pr('18.86', '6.72 MB', '11498.59');</script><script type="text/javascript">pr('19.19', '6.84 MB', '7705.63');</script><script type="text/javascript">pr('19.52', '6.96 MB', '11478.93');</script><script type="text/javascript">pr('19.85', '7.07 MB', '8062.87');</script><script type="text/javascript">pr('20.18', '7.19 MB', '11284.62');</script><script type="text/javascript">pr('20.51', '7.31 MB', '11429.66');</script><script type="text/javascript">pr('20.84', '7.43 MB', '8208.43');</script><script type="text/javascript">pr('21.17', '7.54 MB', '11067.25');</script><script type="text/javascript">pr('21.5', '7.66 MB', '11494.13');</script><script type="text/javascript">pr('21.82', '7.78 MB', '8377.58');</script><script type="text/javascript">pr('22.15', '7.90 MB', '194.94');</script><script type="text/javascript">pr('22.48', '8.01 MB', '3703.25');</script><script type="text/javascript">pr('22.81', '8.13 MB', '4040.27');</script><script type="text/javascript">pr('23.14', '8.25 MB', '4435.72');</script><script type="text/javascript">pr('23.47', '8.37 MB', '11484.43');</script><script type="text/javascript">pr('23.8', '8.48 MB', '5616.93');</script><script type="text/javascript">pr('24.13', '8.60 MB', '11482.07');</script><script type="text/javascript">pr('24.46', '8.72 MB', '6378.28');</script><script type="text/javascript">pr('24.79', '8.84 MB', '11435.11');</script><script type="text/javascript">pr('25.12', '8.95 MB', '6745.33');</script><script type="text/javascript">pr('25.45', '9.07 MB', '11478.93');</script><script type="text/javascript">pr('25.78', '9.19 MB', '7032.31');</script><script type="text/javascript">pr('26.11', '9.31 MB', '10332.49');</script><script type="text/javascript">pr('26.44', '9.42 MB', '7899.87');</script><script type="text/javascript">pr('26.77', '9.54 MB', '10308.37');</script><script type="text/javascript">pr('27.1', '9.66 MB', '11557.48');</script><script type="text/javascript">pr('27.43', '9.78 MB', '7899.37');</script><script type="text/javascript">pr('27.76', '9.89 MB', '10744.07');</script><script type="text/javascript">pr('28.09', '10.01 MB', '8492.5');</script><script type="text/javascript">pr('28.42', '10.13 MB', '10332.49');</script><script type="text/javascript">pr('28.75', '10.25 MB', '11313.28');</script><script type="text/javascript">pr('29.08', '10.36 MB', '8566.51');</script><script type="text/javascript">pr('29.41', '10.48 MB', '10629.7');</script><script type="text/javascript">pr('29.74', '10.60 MB', '11267.69');</script><script type="text/javascript">pr('30.07', '10.72 MB', '8722.84');</script><script type="text/javascript">pr('30.4', '10.83 MB', '184.21');</script><script type="text/javascript">pr('30.73', '10.95 MB', '3703.5');</script><script type="text/javascript">pr('31.06', '11.07 MB', '4022.51');</script><script type="text/javascript">pr('31.39', '11.19 MB', '4491.21');</script><script type="text/javascript">pr('31.72', '11.30 MB', '11466.64');</script><script type="text/javascript">pr('32.05', '11.42 MB', '5645.47');</script><script type="text/javascript">pr('32.37', '11.54 MB', '11465.59');</script><script type="text/javascript">pr('32.7', '11.66 MB', '2313.71');</script><script type="text/javascript">pr('33.03', '11.77 MB', '11471.08');</script><script type="text/javascript">pr('33.36', '11.89 MB', '6729.1');</script><script type="text/javascript">pr('33.69', '12.01 MB', '11464.55');</script><script type="text/javascript">pr('34.02', '12.13 MB', '7069.25');</script><script type="text/javascript">pr('34.35', '12.24 MB', '11464.55');</script><script type="text/javascript">pr('34.68', '12.36 MB', '11157.78');</script><script type="text/javascript">pr('35.01', '12.48 MB', '7458.97');</script><script type="text/javascript">pr('35.34', '12.59 MB', '11431.74');</script><script type="text/javascript">pr('35.67', '12.71 MB', '7595.4');</script><script type="text/javascript">pr('36', '12.83 MB', '11629.04');</script><script type="text/javascript">pr('36.33', '12.95 MB', '11475.52');</script><script type="text/javascript">pr('36.66', '13.06 MB', '7709.17');</script><script type="text/javascript">pr('36.99', '13.18 MB', '11483.12');</script><script type="text/javascript">pr('37.31', '13.30 MB', '11310.23');</script><script type="text/javascript">pr('37.64', '13.42 MB', '7914.03');</script><script type="text/javascript">pr('37.97', '13.53 MB', '11517.28');</script><script type="text/javascript">pr('38.3', '13.65 MB', '8572.63');</script><script type="text/javascript">pr('38.63', '13.77 MB', '10777.89');</script><script type="text/javascript">pr('38.96', '13.89 MB', '11482.07');</script><script type="text/javascript">pr('39.29', '14.00 MB', '215.9');</script><script type="text/javascript">pr('39.62', '14.12 MB', '3701.65');</script><script type="text/javascript">pr('39.95', '14.24 MB', '4040.4');</script><script type="text/javascript">pr('40.28', '14.36 MB', '4432.63');</script><script type="text/javascript">pr('40.61', '14.47 MB', '11451.5');</script><script type="text/javascript">pr('40.94', '14.59 MB', '5671.3');</script><script type="text/javascript">pr('41.27', '14.71 MB', '11476.83');</script><script type="text/javascript">pr('41.6', '14.83 MB', '6464.13');</script><script type="text/javascript">pr('41.93', '14.94 MB', '11468.99');</script><script type="text/javascript">pr('42.26', '15.06 MB', '6858.67');</script><script type="text/javascript">pr('42.58', '15.18 MB', '11502.01');</script><script type="text/javascript">pr('42.91', '15.29 MB', '7105.58');</script><script type="text/javascript">pr('43.24', '15.41 MB', '11617.77');</script><script type="text/javascript">pr('43.57', '15.53 MB', '7290.85');</script><script type="text/javascript">pr('43.9', '15.65 MB', '11507.53');</script><script type="text/javascript">pr('44.23', '15.76 MB', '2969.79');</script><script type="text/javascript">pr('44.56', '15.88 MB', '11476.57');</script><script type="text/javascript">pr('44.89', '16.00 MB', '7760.52');</script><script type="text/javascript">pr('45.22', '16.12 MB', '11300.58');</script><script type="text/javascript">pr('45.55', '16.23 MB', '11499.65');</script><script type="text/javascript">pr('45.88', '16.35 MB', '7898.38');</script><script type="text/javascript">pr('46.21', '16.47 MB', '11447.08');</script><script type="text/javascript">pr('46.54', '16.59 MB', '11365.91');</script><script type="text/javascript">pr('46.87', '16.70 MB', '8116.83');</script><script type="text/javascript">pr('47.2', '16.82 MB', '11483.12');</script><script type="text/javascript">pr('47.52', '16.94 MB', '8269.12');</script><script type="text/javascript">pr('47.85', '17.06 MB', '198.62');</script><script type="text/javascript">pr('48.18', '17.17 MB', '3635.81');</script><script type="text/javascript">pr('48.51', '17.29 MB', '4051.33');</script><script type="text/javascript">pr('48.85', '17.41 MB', '3587.87');</script><script type="text/javascript">pr('49.18', '17.53 MB', '7357.46');</script><script type="text/javascript">pr('49.51', '17.65 MB', '9661.14');</script><script type="text/javascript">pr('49.84', '17.76 MB', '6932.35');</script><script type="text/javascript">pr('50.17', '17.88 MB', '10056.07');</script><script type="text/javascript">pr('50.5', '18.00 MB', '11493.34');</script><script type="text/javascript">pr('50.83', '18.12 MB', '7186.03');</script><script type="text/javascript">pr('51.16', '18.23 MB', '10383.44');</script><script type="text/javascript">pr('51.49', '18.35 MB', '7292.96');</script><script type="text/javascript">pr('51.82', '18.47 MB', '10718.21');</script><script type="text/javascript">pr('52.15', '18.59 MB', '7458.09');</script><script type="text/javascript">pr('52.48', '18.70 MB', '11060.93');</script><script type="text/javascript">pr('52.81', '18.82 MB', '7655.94');</script><script type="text/javascript">pr('53.14', '18.94 MB', '11112.21');</script><script type="text/javascript">pr('53.47', '19.06 MB', '11336.72');</script><script type="text/javascript">pr('53.8', '19.17 MB', '7769.99');</script><script type="text/javascript">pr('54.13', '19.29 MB', '11386.48');</script><script type="text/javascript">pr('54.46', '19.41 MB', '7952.79');</script><script type="text/javascript">pr('54.79', '19.53 MB', '11438.23');</script><script type="text/javascript">pr('55.11', '19.64 MB', '11486.52');</script><script type="text/javascript">pr('55.44', '19.76 MB', '7951.29');</script><script type="text/javascript">pr('55.77', '19.88 MB', '11342.09');</script><script type="text/javascript">pr('56.1', '20.00 MB', '190.15');</script><script type="text/javascript">pr('56.43', '20.11 MB', '3891.42');</script><script type="text/javascript">pr('56.76', '20.23 MB', '4225.08');</script><script type="text/javascript">pr('57.09', '20.35 MB', '8904.63');</script><script type="text/javascript">pr('57.42', '20.46 MB', '5644.4');</script><script type="text/javascript">pr('57.75', '20.58 MB', '11347.71');</script><script type="text/javascript">pr('58.08', '20.70 MB', '6409.23');</script><script type="text/javascript">pr('58.41', '20.82 MB', '11501.75');</script><script type="text/javascript">pr('58.74', '20.93 MB', '7105.28');</script><script type="text/javascript">pr('59.07', '21.05 MB', '10730.55');</script><script type="text/javascript">pr('59.4', '21.17 MB', '7416.11');</script><script type="text/javascript">pr('59.73', '21.29 MB', '10531.84');</script><script type="text/javascript">pr('60.05', '21.40 MB', '7753.95');</script><script type="text/javascript">pr('60.38', '21.52 MB', '10330.59');</script><script type="text/javascript">pr('60.71', '21.64 MB', '7946.01');</script><script type="text/javascript">pr('61.04', '21.76 MB', '10643.87');</script><script type="text/javascript">pr('61.37', '21.87 MB', '11474.48');</script><script type="text/javascript">pr('61.72', '22.00 MB', '7572.43');</script><script type="text/javascript">pr('62.05', '22.12 MB', '11232.74');</script><script type="text/javascript">pr('62.38', '22.23 MB', '11476.57');</script><script type="text/javascript">pr('62.71', '22.35 MB', '7801.9');</script><script type="text/javascript">pr('63.06', '22.47 MB', '9373.44');</script><script type="text/javascript">pr('63.39', '22.59 MB', '9021.95');</script><script type="text/javascript">pr('63.72', '22.71 MB', '11357.19');</script><script type="text/javascript">pr('64.05', '22.83 MB', '11461.41');</script><script type="text/javascript">pr('64.38', '22.94 MB', '8123.38');</script><script type="text/javascript">pr('64.71', '23.06 MB', '11477.88');</script><script type="text/javascript">pr('65.04', '23.18 MB', '198.04');</script><script type="text/javascript">pr('65.37', '23.30 MB', '673.49');</script><script type="text/javascript">pr('65.7', '23.41 MB', '1193.9');</script><script type="text/javascript">pr('66.03', '23.53 MB', '844.1');</script><script type="text/javascript">pr('66.36', '23.65 MB', '871.88');</script><script type="text/javascript">pr('66.7', '23.77 MB', '11431.74');</script><script type="text/javascript">pr('67.03', '23.89 MB', '986.23');</script><script type="text/javascript">pr('67.35', '24.01 MB', '11309.97');</script><script type="text/javascript">pr('67.69', '24.12 MB', '11492.03');</script><script type="text/javascript">pr('68.02', '24.24 MB', '921.05');</script><script type="text/javascript">pr('68.35', '24.36 MB', '11316.59');</script><script type="text/javascript">pr('68.68', '24.48 MB', '854.34');</script><script type="text/javascript">pr('69.01', '24.60 MB', '11363.6');</script><script type="text/javascript">pr('69.34', '24.71 MB', '837.11');</script><script type="text/javascript">pr('69.67', '24.83 MB', '11304.64');</script><script type="text/javascript">pr('70', '24.95 MB', '852.39');</script><script type="text/javascript">pr('70.33', '25.07 MB', '11280.32');</script><script type="text/javascript">pr('70.67', '25.19 MB', '11140');</script><script type="text/javascript">pr('71', '25.30 MB', '840.69');</script><script type="text/javascript">pr('71.33', '25.42 MB', '11312.26');</script><script type="text/javascript">pr('71.66', '25.54 MB', '11363.6');</script><script type="text/javascript">pr('71.98', '25.66 MB', '832.67');</script><script type="text/javascript">pr('72.31', '25.77 MB', '11465.59');</script><script type="text/javascript">pr('72.65', '25.89 MB', '814.03');</script><script type="text/javascript">pr('72.98', '26.01 MB', '11458.02');</script><script type="text/javascript">pr('73.31', '26.13 MB', '11364.62');</script><script type="text/javascript">pr('73.64', '26.24 MB', '803.25');</script><script type="text/javascript">pr('73.97', '26.36 MB', '10821.45');</script><script type="text/javascript">pr('74.3', '26.48 MB', '9232.96');</script><script type="text/javascript">pr('74.64', '26.60 MB', '1046.53');</script><script type="text/javascript">pr('74.98', '26.72 MB', '13264.02');</script><script type="text/javascript">pr('75.31', '26.84 MB', '1412.05');</script><script type="text/javascript">pr('75.64', '26.96 MB', '11558.54');</script><script type="text/javascript">pr('75.97', '27.08 MB', '11305.91');</script><script type="text/javascript">pr('76.3', '27.19 MB', '1197.5');</script><script type="text/javascript">pr('76.63', '27.31 MB', '11510.69');</script><script type="text/javascript">pr('76.96', '27.43 MB', '1022.47');</script><script type="text/javascript">pr('77.29', '27.55 MB', '11406.86');</script><script type="text/javascript">pr('77.62', '27.66 MB', '11259.12');</script><script type="text/javascript">pr('77.95', '27.78 MB', '982.47');</script><script type="text/javascript">pr('78.28', '27.90 MB', '11809.67');</script><script type="text/javascript">pr('78.61', '28.02 MB', '11389.57');</script><script type="text/javascript">pr('78.94', '28.13 MB', '965.41');</script><script type="text/javascript">pr('79.27', '28.25 MB', '11437.45');</script><script type="text/javascript">pr('79.6', '28.37 MB', '947.92');</script><script type="text/javascript">pr('79.93', '28.49 MB', '11349.76');</script><script type="text/javascript">pr('80.26', '28.61 MB', '11463.5');</script><script type="text/javascript">pr('80.61', '28.73 MB', '299.81');</script><script type="text/javascript">pr('80.96', '28.85 MB', '27266.73');</script><script type="text/javascript">pr('81.31', '28.98 MB', '29090.08');</script><script type="text/javascript">pr('81.66', '29.10 MB', '29043.07');</script><script type="text/javascript">pr('82.01', '29.23 MB', '29570.32');</script><script type="text/javascript">pr('82.35', '29.35 MB', '1326.48');</script><script type="text/javascript">pr('82.67', '29.47 MB', '11415.66');</script><script type="text/javascript">pr('83', '29.58 MB', '11472.12');</script><script type="text/javascript">pr('83.33', '29.70 MB', '903.83');</script><script type="text/javascript">pr('83.67', '29.82 MB', '11307.94');</script><script type="text/javascript">pr('84', '29.94 MB', '899.03');</script><script type="text/javascript">pr('84.33', '30.06 MB', '11747.38');</script><script type="text/javascript">pr('84.66', '30.17 MB', '11341.07');</script><script type="text/javascript">pr('84.99', '30.29 MB', '1089.76');</script><script type="text/javascript">pr('85.32', '30.41 MB', '11569.7');</script><script type="text/javascript">pr('85.65', '30.53 MB', '8966.5');</script><script type="text/javascript">pr('85.98', '30.64 MB', '877.87');</script><script type="text/javascript">pr('86.33', '30.77 MB', '17912.89');</script><script type="text/javascript">pr('86.66', '30.89 MB', '914.65');</script><script type="text/javascript">pr('86.99', '31.01 MB', '11184.56');</script><script type="text/javascript">pr('87.32', '31.12 MB', '11619.11');</script><script type="text/javascript">pr('87.67', '31.25 MB', '876.33');</script><script type="text/javascript">pr('88', '31.36 MB', '16390.94');</script><script type="text/javascript">pr('88.33', '31.48 MB', '890.99');</script><script type="text/javascript">pr('88.66', '31.60 MB', '11599.83');</script><script type="text/javascript">pr('88.99', '31.72 MB', '11425.25');</script><script type="text/javascript">pr('89.32', '31.84 MB', '997.76');</script><script type="text/javascript">pr('89.65', '31.95 MB', '11496.49');</script><script type="text/javascript">pr('89.99', '32.07 MB', '11228.73');</script><script type="text/javascript">pr('90.32', '32.19 MB', '894.36');</script><script type="text/javascript">pr('90.64', '32.31 MB', '11487.83');</script><script type="text/javascript">pr('90.98', '32.42 MB', '1051.63');</script><script type="text/javascript">pr('91.31', '32.54 MB', '11508.59');</script><script type="text/javascript">pr('91.64', '32.66 MB', '11428.62');</script><script type="text/javascript">pr('91.97', '32.78 MB', '1083.3');</script><script type="text/javascript">pr('92.3', '32.89 MB', '11471.08');</script><script type="text/javascript">pr('92.62', '33.01 MB', '11556.41');</script><script type="text/javascript">pr('92.95', '33.13 MB', '903.83');</script><script type="text/javascript">pr('93.28', '33.25 MB', '11392.92');</script><script type="text/javascript">pr('93.61', '33.36 MB', '1032.15');</script><script type="text/javascript">pr('93.95', '33.48 MB', '11371.04');</script><script type="text/javascript">pr('94.28', '33.60 MB', '11397.05');</script><script type="text/javascript">pr('94.61', '33.72 MB', '436.23');</script><script type="text/javascript">pr('94.96', '33.84 MB', '66629.13');</script><script type="text/javascript">pr('95.31', '33.97 MB', '65793');</script><script type="text/javascript">pr('95.64', '34.09 MB', '16000.14');</script><script type="text/javascript">pr('95.97', '34.20 MB', '846.25');</script><script type="text/javascript">pr('96.3', '34.32 MB', '11414.37');</script><script type="text/javascript">pr('96.63', '34.44 MB', '837.81');</script><script type="text/javascript">pr('96.96', '34.56 MB', '11385.19');</script><script type="text/javascript">pr('97.29', '34.67 MB', '802.18');</script><script type="text/javascript">pr('97.62', '34.79 MB', '798.65');</script><script type="text/javascript">pr('97.95', '34.91 MB', '11319.64');</script><script type="text/javascript">pr('98.28', '35.03 MB', '793.53');</script><script type="text/javascript">pr('98.63', '35.15 MB', '740.39');</script><script type="text/javascript">pr('98.96', '35.27 MB', '12670.02');</script><script type="text/javascript">pr('99.29', '35.39 MB', '1194.47');</script><script type="text/javascript">pr('99.63', '35.51 MB', '1101.51');</script><script type="text/javascript">pr('99.96', '35.62 MB', '11303.88');</script><script type="text/javascript">pr(100, '35.64 MB', '2562.52')</script>

Archivo <b><a href="/files/Bloomberg_Businessweek_2011-06-13S370.pdf">Bloomberg_Businessweek_2011-06-13S370.pdf</a></b> (<b>35.64 MB</b>) ¡Guardado!<br />Tiempo: <b>14 segundo</b><br />Velocidad Promedio: <b>2562.52 KB/s</b><br /><form method="post" name="flist" action="/index.php"><input type="hidden" name="files[]" value="1308167002" /><br /><div align="center"><select name="act" onchange="javascript:void(document.flist.submit());"><option selected="selected">Acción</option><option value="upload">Subir</option><option value="ftp">Subir por FTP</option><option value="split">Dividir Archivos</option><option value="merge">Juntar Archivos</option><option value="zip">Comprimir en ZIP</option><option value="unzip">Extraer de ZIP</option><option value="rar">Comprimir en Rar</option><option value="unrar">Extraer de Rar</option><option value="rename">Renombrar</option><option value="delete">Borrar</option><option value="list">Listar Enlaces</option></select></div></form><br /><a href="/index.php">Volver a la página principal</a></div></body></html>

and here is the autoit code I made:

#include <IE.au3>
$oform = _IEFormGetObjByName($oIE,"flist")
MsgBox(0,"error",@error)
$oselect = _IEFormElementGetObjByName($oform,"act")
MsgBox(0,"error",@error)
$n = _IEFormElementOptionSelect($oselect,"rename",-1,"byValue",1)
MsgBox(0,"error",@error)
MsgBox(0,"success?",$n)

I put msgbox to debug errors but each of them return 0 (the last one returns true). Although there's no error the select option isn't activated since it doesn't navigate to the other page.

Let me know if you need more code of my script to test it, I put the part that gives trouble so that you can reproduce the error. Thanks for your help!

PS: I'm using IE 7 which I think it doesn't give any problem with IE.au3

Edit: I also tried this:

Sleep(1000)
$oselect = _IEGetObjById($oIE,"act")
MsgBox(0,"error",@error)
_IEAction($oselect,"click")
MsgBox(0,"error",@error)
Sleep(1000)
For $i = 1 To 9
    Send("{DOWN}")
    Sleep(500)
Next
Sleep(1000)
Send("{ENTER}")

but didn't click the select either.

Edited by Mithrandir

Share this post


Link to post
Share on other sites



Is your trouble that both:

1) the option is not visually selected, 2) the expected webpage action is not executed

If your answer is 2) only, then there is likely Javascript behind the element that is expecting another event to be triggered. _IEFormElementOptionselect filres these two by default:

$o_object.fireEvent("onchange")

$o_object.fireEvent("onclick")

If you need another, you can fire it in your main code with

$oselect.fireEvent(your-event-here)

Dale


Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Share this post


Link to post
Share on other sites

Is your trouble that both:

1) the option is not visually selected, 2) the expected webpage action is not executed

Both ;) Neither the option is visually selected nor it selects the option and redirects to the page.

Anyway, I dig the code a bit more and didn't find any more javascripts codes, at least not related to the form where the select is.

<form method="post" name="flist" action="/index.php"><input type="hidden" name="files[]" value="1308167002" /><br /><div align="center"><select name="act" onchange="javascript:void(document.flist.submit());"><option selected="selected">Acción</option><option value="upload">Subir</option><option value="ftp">Subir por FTP</option><option value="split">Dividir Archivos</option><option value="merge">Juntar Archivos</option><option value="zip">Comprimir en ZIP</option><option value="unzip">Extraer de ZIP</option><option value="rar">Comprimir en Rar</option><option value="unrar">Extraer de Rar</option><option value="rename">Renombrar</option><option value="delete">Borrar</option><option value="list">Listar Enlaces</option></select></div></form><br /><a href="/index.php">Volver a la página principal</a></div></body></html>

As it can be seen in the code there's only an onchange event associated with the form. So I tried one last thing. If it's a FORM why not SUBMIT it? :alien: So I tried it and this code functioned :huh2:

$oform = _IEFormGetObjByName($oIE,"flist")
$oselect = _IEFormElementGetObjByName($oform,"act")
$n = _IEFormElementOptionSelect($oselect,"Renombrar",1,"byText",1)
_IEFormSubmit($oform)

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0