Fala ai galera, to precisando de um help (novidade)... a história é a seguinte... achei aki no forum esse código: <html> <head> </head> <body onload="document.frm.submit();"> <form name="frm" action="http://www.qualquer.com.br" method="post"> <input type="hidden" name="urlredir" value="http://www.qualquer.com.br"> <input type="maxLength" name="tx_cpf" size="15" maxlength="12" value="usuário"> <input type="maxLength" name="tx_senha" size="15" maxlength="12" value="123456"> </form> </body> </html> Ele acessa a página http://www.qualquer.com.br e loga com o usuário e a senha, acontece que eu preciso dar mais um click, após logar tem um botão de registrar: <input type="submit" Value="Registrar" id=btnRegistrar name=btnRegistrar> Como faço para enviar um evento a este botão, inserindo a função neste mesmo código ?