I use the script that displays the products in columns which includes the below code being added to Act_ProductBody.html. There is another piece of code also but this part seems to be culprit. IE tells you what line the error is on so it's reasonably clear. I only use the script in 2 sections and when in these sections the error message does not display. Because the script is placed in the ProductBody and not a file that can be dedicated to the sections where the script is used, the script becomes redundant in all other sections, which is probably causing the error message. Does anyone know of a workaround to avoid this error message? It only appears in IE. Not in any other browser.
Mark
<script language=JavaScript>
<!--
if ( currentcol != 0 )
{
while ( currentcol++ < ) document.write('<td width="' + colwidth + '%"></td>');
document.write('</tr></table></td></tr>');
currentcol = 0;
}
// -->
</script>
Mark
<script language=JavaScript>
<!--
if ( currentcol != 0 )
{
while ( currentcol++ < ) document.write('<td width="' + colwidth + '%"></td>');
document.write('</tr></table></td></tr>');
currentcol = 0;
}
// -->
</script>
Comment