...
::oIE := Super:New( _oWnd, "Shell.Explorer" )
...
//--- CNPJ ---------------------------------------------------------------------
if !empty( cCnpj )
//
// <input type="text" name="tbxCNPJContrib" id="tbxCNPJContrib" class="apenasNumeros" maxlength="22"
// style="height:20px; border:none; outline:none; width:150px; float:left" value=""/>
//
oConsulta:oIE:Document:All:Item( "tbxCNPJContrib", 0 ):focus()
oConsulta:oIE:Document:All:Item( "tbxCNPJContrib", 0 ):value := cCnpj
//---> acionar o 'button' aqui
//
// <input type="button" class="botaoGra" value="Pesquisar por CNPJ" onclick="preencheParametros('CNPJ')" />
//
endif
Como poderia estar acionando o "button" via aplicação da mesma maneira como foi atribuido valor ao "tbxCNPJContrib" ?...
O "preencheParametros('CNPJ')" está contido em:
<script type="text/javascript">
function preencheParametros(filtro)
{
...
}
//]]></script>