Intersting. Had a look at JSRS site and checked through the forums. Tried a suggestion of using
location.replace - this gets the list requested and reloads without the
retry fiasco, but the 'form data' from before the reload is lost.
Am I missing something very obvious here?
Here's the code in question:
(form data lost)
echo "<script language='javascript'>\n";
echo "{ history.go(-1); }\n";
echo "{ location.replace('prodoutlite.php'); }\n";
echo "</script>\n";
(reload provokes retry prompt)
echo "<script language='javascript'>\n";
echo "{ history.go(-1); }\n";
echo "{ window.location.reload(); }\n";
echo "</script>\n";
(page to get data from server loops)
echo "<script language='javascript'>\n";
echo "{ history.go(-1); }\n";
echo "{ location.replace('prodoutlite.php'); }\n";
echo "{ window.location.reload(); }\n";
echo "</script>\n";
Thanks in advance.