javascript - document.getElementById('grand_total_display').innerHTML = "Total is : $"+variable; is displaying error in IE6 and IE7 -


document.getelementbyid('grand_total_display).innerhtml = "total : $"+variable; displaying error in ie6 , ie7

i have <li>with id grand_total_display text displayed in it.

<li class="bannerprice" id="grand_total_display">total price : $0</li> 

i executing jjavascript function insert other value it.. displayed error given below: alt text

please me rectify issue

apparently there's no element in dom 'totaldisplay' id, or, galambalazs suggests, might have multiple elements same id.

with ie7 can use "internet explorer developer toolbar" , "web development helper" plugin, find problem.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -