perlquestion
mmittiga17
<p>Hi All,
I am having problems accessing to a popup to fill in a form. I click link and then the script just hangs. It is not until I manually click cancel until the script tries next lines of code. I have tried the method for handling popups from this monk page http://www.perlmonks.org/?node_id=720018 but it does not get the popup. But that I believe is caused by the script hanging after clicking the link and the JS popup launches.
<code>
Link code
"javascript:openMdlWindow('InvestmentDetailOptions.aspx?IDAssetType=','620','600');if(window.document.RetValue == '2'){window.parent.LoadinIframe('InvestmentDetail.aspx?FromMenu=N&IDAssetType=','Investment Details > Full View','false');}"
My Code
$sel->click("link=Filter");
$sel->select_target_blank_window(30000);
$sel->get_eval("window.document.aspnetForm.ctl00_ContentPlaceHolder2_selectDay.value =".$pday);
$sel->get_eval("window.document.aspnetForm.ctl00_ContentPlaceHolder2_selectMonth.value =".$mnth);
$sel->click("ctl00_ContentPlaceHolder2_btnSubmit2");
</code>
<p>
Any suggestion or thoughts? has anyone seen this issue before. Thank you in advance.
<\p>