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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -