<script type="text/javascript"> window.onload = function() { setTimeout(loadfunction,5000) } function loadfunction() { document.getElementById("myiframe").src = "include/view_tracker.php" } </script> Code (markup): Why doesnt this code work in firefox. Please provide me a work fix.. Work in All browser or the major ones.
Try this: window.frames["myiframe"].src = "include/view_tracker.php"; Code (markup): Different properties are available on iframes depending on how you access them. Not sure why, IE has a few iframe oddities as well.
Issue fixed myself, was just a Php bug for Firefox that was all. It was in a html tag body basis, I have 10+ years with html/css.