In article <f9**************************@posting.google.com >,
bj****@hotmail.com enlightened us with...
Hello everyone,
THis is the function I'm using:
function refreshPage(){
document.form_affichage.action=myPage.php';
Is that a typo? Having only one quote would basically putz up the whole
rest of the code.
document.form_affichage.submit();
//document.form_affichage.blur(); --> did not work!!
}
timeout = <?php echo $period;?> * 1000;
window.setTimeout("refreshPage();",timeout);
The browser I'm compelled to use is Internet Explorer vers 6.
Now, what happens? Another IE window is open, but this window comes into
focus when it refreshes?
Because I put this into a test page and had no problems. It remained in
the background as expected.
My test page:
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title> New Document </title>
</head>
<body>
<script>
function refreshPage(){
document.form1.submit();
}
timeout = 5 * 1000;
window.setTimeout("refreshPage();",timeout);
</script>
test page
<form name="form1">
<input type="text" name="text1"><br>
<input type="hidden" name="hidden1" value="nothing">
</form>
</body>
</html>
--
--
~kaeli~
Murphy's Law #3020: Quality assurance doesn't.
http://www.ipwebdesign.net/wildAtHeart http://www.ipwebdesign.net/kaelisSpace