Assigning value to <li>
tag using its id displays me error in IE 6 and IE7,,
Previously I was doing this:
document.getElementById("grandtotaldisplay").innerHTML = "TOTAL PRICE : $"+variable;
this throws me error in IE6 and IE7 as:
Then I tried with jQuery library as suggested my others.. then also I was prompted with same error as displayed above.
here is how I used the jQuery .html() $("#grandtotaldisplay").html("TOTAL PRICE : $"+variable);
I am facing this issue in IE6 and IE7
How should I resolve it..please help.
Update below is the
<li>
tag where i need to place the required value using javascript
<li class="bannerprice" id="grandtotaldisplay">TOTAL PRICE : $0</li>