iframe.contentWindow.history.back();
document.getElementById("myIframeID").contentWindow.history.back();
window.history.back();
<iframe src="StudentList.html">
<!-- There is a list of student that I get from my database and make the list dynamically by createElement("LI") that you can click on every student to see the details, and you will be redirected to StudentDetai.html by changing the iframe source-->
<h1> Student Info </h1> <p id="Detail"><p> <!-- This Paragraph ill be filled when user click on a student to see his detail, it will be filled from data base --> <input type="button" value="GoBack" onClick="GoBack();">
function GoBack() { window.history.back(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)