Possible Duplicate:
‘innerText’ works in IE, but not in Firefox
function stopped() {
var this_row = document.getElementById("row_1");
var cells = this_row.getElementsByTagName("td");
$('#starttime').html(cells[0].innerText);
}
I have a javascript function above. It fills a form using the value from cells[0]. It works with IE and Chrome. But it cannot work with FireFox browser. I want to know whther there is any problem with my code. Thanks.