hey guys, i have some problem with click event on FF5 beta. Hope, some one can help this…this has been working fine on all the browsers, suddenly it stopped working on ff 5 beta. Below is the code:
<script language=“JavaScript”>
function redirect () { setTimeout(“gonow()”,5000); }
function gonow () {
var anchor1 = document.createElement(“a”);
if(!anchor1.click) {
window.location.href = “http://google.com”;
return;
}
anchor1.setAttribute(“href”, “http://google.com”);
anchor1.style.display = “none”;
document.getElementById(“interstitial-box”).appendChild(anchor1);
anchor1.click();
}
</script>
Thanks in advance