• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

innerHtml not working in Mozilla

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


I am having the following code in my js file for innerHtml(for dynamically adding rows on jsp page)...but it is not working in Mozilla, it works fine IE.

I faced the same problem everywhere were I used innerHtml, so can anyone please tell me the other way out for this, so that it works fine in Mozilla..

var len = datamain3.rows.length;
var rowcnt = datamain3.insertRow(len);
.
.
.
var c0 = rowcnt.insertCell();
.
.


Thanks & Regards
Shreyash Thakre
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why don't you show us the version that fails.

What problem are you having with insertRow() and insertCell()?

Eric
reply
    Bookmark Topic Watch Topic
  • New Topic