>loIE.document.getElementByID("aceite").click() >>This way the form is shown as soon as the user chooses the type of customer service he/she's requiring.
>> >>loIE.document.getElementByID("accpet").checked= .T. >> >>2- Is there a way to trigger this show_form();" event programmaticaly ? >> >>This event is in checkbox: >> >><input id="accept" onclick="javascript: show_form();" name="accpet" type="checkbox" enabled> >> >> >> >> >>part of code below: >> >> >> >>loIE = Createobject("internetexplorer.application") >>loIE.Visible = .T. >>loIE.Navigate("http://www2.correios.com.br/sistemas/falecomoscorreios") >>* Wait for load to complete >>lnSeconds = SECONDS() >>DO WHILE (loIE.Busy OR loIE.ReadyState <> 4) ; >> AND (SECONDS() - lnSeconds) < lnLoadTimeout >> DOEVENTS >>ENDDO >> >>loIE.document.getElementByID("accpet").checked= .T. >> >>