MikeHustle
Power Member
- Mar 1, 2009
- 635
- 241
Can anyone share some clues to redirecting an iframe after the submit button has been clicked?
<script type="text/javascript">
var oldHistory = history.length;
setInterval("checkHistory()", 1250);
function checkHistory() {
if (oldHistory < history.length) {
window.location.href = "[color=blue]http://www.yoursite.com/page2.html[/color]";
}
}
</script>