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

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - How can I merge Nodes & Webform Submissions into instances of one general Content Type in Drupal 6? -