Due to some restictions with our website, I needed to create a redesign on parts of our website in javascript. Its pretty much a hack job, The bugs with it so far have been relatively simple to fix, but this new bug is a little bit trickier.
Anyways, in IE my script is working okay, but in mozilla, the back and forward buttons are not working. I guess for now the onlyl code I would be suspect of is:
IE's innerHTML is a little picky, unless the string is wrapped in a div tag. The above example is creating an iframe element in a div element using innerHTML. The iframe works and the form works, but could this be the reason that the back and forward buttons are not working in mozilla?
Thanks.
Anyways, in IE my script is working okay, but in mozilla, the back and forward buttons are not working. I guess for now the onlyl code I would be suspect of is:
Code:
var tr2 = document.createElement("tr");
tbody1.appendChild(tr2);
var td2 = document.createElement("td");
td2.className = "ln_login_td_inner";
td2.setAttribute("align", "center");
tr2.appendChild(td2);
var htmlStr= "<div><iframe id=\"tan_quicksearch\" src=\"[URL unfurl="true"]http://testing.testing.com/images/uploads//RECos/15000/ContentFiles/tan_form.htm\"";[/URL]
htmlStr = htmlStr+" width=145 height=181 marginwidth=\"0\"";
htmlStr = htmlStr+" marginheight=\"0\" scrolling=\"no\" frameborder=\"0\"></iframe></div>";
td2.innerHTML = htmlStr;
IE's innerHTML is a little picky, unless the string is wrapped in a div tag. The above example is creating an iframe element in a div element using innerHTML. The iframe works and the form works, but could this be the reason that the back and forward buttons are not working in mozilla?
Thanks.