File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes innerHtml not working in Mozilla Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "innerHtml not working in Mozilla" Watch "innerHtml not working in Mozilla" New topic
Author

innerHtml not working in Mozilla

Shreyash Thakre
Greenhorn

Joined: Oct 06, 2009
Posts: 6


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
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Why don't you show us the version that fails.

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

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: innerHtml not working in Mozilla