02-24-2007, 03:47 AM
I'm using dreamweaver and I'm looking for a script code for after sending a form (after submitting it), after 10 seconds the page jumps to an new URL.
Can you give me a hand on this???
02-24-2007, 04:37 AM
do u have PHP at ur disposal... i can help u with that with the sleep command
02-24-2007, 04:44 AM
sorry i dont....
I sorted this code out:
it works fine with a simple page, but how can I change it that it happends after a form is validated and sbmitted?
<body onLoad="setTimeout('delayer()', 5000)">
insted of doing this in the body, where do I have to put it, to happend this after a form is validated and submitted? This is what I have right now about the form:
onSubmit="MM_validateForm('Apelido/Nome','','R','Tel Trabalho','','R','Telemóvel','','R','E-mail','','R','Morada','','R','localidade1','','R','Titulo meio','','R','Morada meio','','R','localidade2','','R');