Biel. Posted February 11, 2013 at 03:48 PM Report #494876 Posted February 11, 2013 at 03:48 PM Boa tarde a todos. Pessoal como resolver esta questão: O botão Enviar abaixo está no automático, ou seja não preciso ficar clicando nele o tempo todo para enviar o conteúdo do formulario .Ele mesmo se encarrega de fazer todo sozinho. Só que tem um problema: No script não tem um limite de envio especificado. Como eu faço para especificar um limite de envio? Ex-1: Após enviar 10 vezes o script para de executar. Ex-2: Também quero enviar o formulario de 10 em 10 segundos. Muito obrigado pela atenção. Vejam: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Documento sem título</title> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script> <script type="text/javascript"> $(document).ready(function() { window.document.forms[0].submit(); }); </script> </head> <body > <form action="formulario.php" method="post" name="tetete"> </body> </html>
Biel. Posted February 12, 2013 at 08:48 PM Author Report #495028 Posted February 12, 2013 at 08:48 PM Boa tarde a todos. Tarefa resolvida. Obrigado a todos!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now