I currently have:
<script>
var btn = document.getElementById("doReload");
btn.onclick = function(){
setTimeout(function(){
$("#div1").load("News.php");
}, 5000);
}
</script>
<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="image" />
<input id="doReload" type="submit"/>
</form>
All of this is loaded in an iframe using src=, When I click the submit button i want it to do a file upload (Which it currently does), then i would like it to reload News.php into Div1 to show the updated file, any ideas on how to do this?