A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
innerHtml not working in Mozilla
Joined: Oct 06, 2009
Dec 07, 2009 00:20:52
I am having the following code in my js file for innerHtml(for dynamically adding rows on
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
Joined: Nov 08, 2001
Dec 07, 2009 05:33:21
Why don't you show us the version that fails.
What problem are you having with insertRow() and insertCell()?
It is sorta covered in the
JavaRanch Style Guide
subject: innerHtml not working in Mozilla
Following code is not working with IE7
Save Image into Mysql database
innerHTML in InternetExplorer not working as expected
window.print() not working IE
display values chosen from dropdown
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015