When "quickedit" button is pressed, this error appears on both firefox and chrome:
TypeError: document.getElementById(...) is null
document.getElementById("quickmodSubmit").style.display = "none";
and
TypeError: element is undefined
if (typeof(element.innerHTML) != 'undefined')
and
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>
and
Uncaught TypeError: Cannot read property 'style' of null index.php?topic=18863.msg198396;boardseen:707
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
when writing a composition and pressing preview using firefox(but in goggle chrome this one works), I am getting this error:
TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined
..., preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview"...
Im seeing this similar code inside this file Scripts/scripts.js:
// Set the "inside" HTML of an element.
function setInnerHTML(element, toValue)
{
// IE has this built in...
if (typeof(element.innerHTML) != 'undefined')
element.innerHTML = toValue;
// Otherwise, try createContextualFragment().
else
{
var range = document.createRange();
range.selectNodeContents(element);
range.deleteContents();
element.appendChild(range.createContextualFragment(toValue));
}
}
When "quickedit" button is pressed, this error appears on both firefox and chrome:
&lt;code&gt;TypeError: document.getElementById(...) is null
document.getElementById("quickmodSubmit").style.display = "none";&lt;/code&gt;
and
&lt;code&gt;TypeError: element is undefined
if (typeof(element.innerHTML) != 'undefined')&lt;/code&gt;
and
&lt;code&gt;&lt;script language="JavaScript" type="text/javascript"&gt;&lt;!-- // --&gt;&lt;![CDATA[
document.getElementById("quickmodSubmit").style.display = "none";
// ]]&gt;&lt;/script&gt;&lt;/code&gt;
and
&lt;code&gt;Uncaught TypeError: Cannot read property 'style' of null index.php?topic=18863.msg198396;boardseen:707
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.&lt;/code&gt;
when writing a composition and pressing preview using firefox(but in goggle chrome this one works), I am getting this error:
&lt;code&gt;TypeError: XMLDoc.getElementsByTagName(...)[0] is undefined
..., preview = XMLDoc.getElementsByTagName("smf")[0].getElementsByTagName("preview"...&lt;/code&gt;
Im seeing this similar code inside this file Scripts/scripts.js:
&lt;code&gt;
// Set the "inside" HTML of an element.
function setInnerHTML(element, toValue)
{
// IE has this built in...
if (typeof(element.innerHTML) != 'undefined')
element.innerHTML = toValue;
// Otherwise, try createContextualFragment().
else
{
var range = document.createRange();
range.selectNodeContents(element);
range.deleteContents();
element.appendChild(range.createContextualFragment(toValue));
}
}&lt;/code&gt;