joven Posted October 31, 2007 at 01:05 PM Report Share #144209 Posted October 31, 2007 at 01:05 PM boas como posso por uma página ao abrir faz um submit automáticamente. <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <style type="text/css"> <!-- .style1 {font-size: 9mm} --> </style> </head> <FORM METHOD=GET> <body> <form method="post" action=""> <input name="logout" type="hidden" id="logout" value="logout"> <input type="hidden" name="Submit" value="Submit"> </form> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p align="center" class="style1">Logoff efetuado com sucesso!</p> </body> </html> obrigado Link to comment Share on other sites More sharing options...
NCS_One Posted October 31, 2007 at 03:37 PM Report Share #144253 Posted October 31, 2007 at 03:37 PM Ois No body poes : <body onload="AutoSubmit();"> das um id ah form, tipo "LogoutForm", e depois crias a funçao em javascript : function AutoSubmit() { document.getElementById("LogoutForm").submit(); } Espero ter ajudado. Se a vida te voltar as costas aproveita e apalpa-lhe o cu. Link to comment Share on other sites More sharing options...
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