document.getElementById('grand_total_display).innerHTML = "Total is : $"+variable;
seems to be causing an error specifically in IE6 and IE7
Within my HTML, I have an element <li>
identified as grand_total_display which contains some existing text content.
<li class="bannerprice" id="grand_total_display">TOTAL PRICE : $0</li>
I am attempting to update this element with a new value using a JavaScript function, but encountered the following error:
Your help in resolving this issue would be greatly appreciated.