Redirect To A New Page
<script type="text/JavaScript">
window.location = "http://www.mydomain.com"
</script>";
Redirect With POST Data Using A Hidden Form
Include the hidden form with the values you want to send on the page:
<!-- ----------------------------------------------- -->
<!-- HIDDEN FORM AUTO SUBMITTED ON UPLOAD COMPLETION -->
<!-- ----------------------------------------------- -->
<form id="form_upload_complete" name="form_upload_complete" method="post" action="http://www.mydomain.com/successful_upload.php">
<input type="hidden" name="field1" value="some value" />
<!-- etc... -->
</form>
Then in your javascript use
document.forms["form_upload_complete"].submit();
Go Back To Previous Page
history.go(-1);
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.