I created a robot in Delphi to open a website and automatically include the data.
I'm having trouble calling a JavaScript routine that has this site, as below:
<script type="text/javascript">
function prepararInclusaoItem(id) {
myForm = document.getElementById('faturaForm');
myForm.action='faturamentoPrepararInclusaoItem.do';
myForm.id.value = id;
}
function excluirItem(codigo) {
if(confirm('Deseja realmente excluir este Item de Pagamento?')) {
navegarPara('ExcluirItem', codigo);
}
return false;
}
</script>
And to access the registry has the routine that calls the script: