\"Autosubmit\"
Hvordan får jeg det popup vindue til at submitte \"pagerform\" af sig selv? af sig selv?<html>
<head>
<title></title>
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">
<link rel=\"stylesheet\" href=\"style.css\" type=\"text/css\">
<script>
function validate(opret) {
config=\'toolbar=no,location=no,directories=no,status=no,menubar=no,width=550,height=70\'
config += \'scrollbars=no,resizable=no\'
pop = window.open (\"\",\"pop\",config)
pop.document.write(\'<script language=\"javascript\">\');
pop.document.write(\'setTimeout(\');
pop.document.write(\'\"self.close()\');
pop.document.write(\';\",900);\');
pop.document.write(\'</\');
pop.document.write(\'script>\');
pop.document.write(\'<form name=\"pagerform\" action=\"http://wwp.icq.com/scripts/WWPMsg.dll\" method=\"post\">\');
pop.document.write(\'<input type=\"hidden\" name=\"from\" value=\"& navn &\">\');
pop.document.write(\'<input type=\"hidden\" name=\"fromemail\" value=\"<%=request(\"icq\")%>@pager.icq.com\">\');
pop.document.write(\'<input type=\"hidden\" name=\"subject\" value=\"herfra\">\');
pop.document.write(\'<textarea name=\"body\">Test</textarea>\');
pop.document.write(\'<input type=\"hidden\" name=\"to\" value=\"<%=request(\"icq\")%>\">\');
pop.document.write(\'Forespørgelsen er afsendt når du har trykket på send.\');
pop.document.write(\'<input type=\"SUBMIT\" value=\"send\">\');
}
</script>
</head>
<body bgcolor=\"#FFFFFF\" text=\"#000000\">
<form name=\"pagerform\" method=\"post\" onsubmit=\"return validate(this) \" >
<div align=\"center\">
<table>
<tr>
<td align=\"center\">
<input type=\"SUBMIT\" name=\"Send\" value=\"Send forespørgelse\" >
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
