aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Unknown RunTime Error when I try to modify innerHTML inside IE 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 "Unknown RunTime Error when I try to modify innerHTML inside IE" Watch "Unknown RunTime Error when I try to modify innerHTML inside IE" New topic
Author

Unknown RunTime Error when I try to modify innerHTML inside IE

Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138


where anyId is a table body id.
I want to modify the innerHTML for my table body

but in Internet Explorer it is giving Unknown Runtime Error
Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138
I want to manipulate table data using innerHTML in IE.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You really should not be using innerHTML to manipulate a table. You should be looking at insertRow() and insertCell.

http://www.w3schools.com/htmldom/met_tablerow_insertcell.asp

Eric
Hemant Agarwal
Ranch Hand

Joined: Nov 21, 2005
Posts: 138
In that case setAttribute is not working in IE.


onDblClick I want to remove that row.
[ December 28, 2005: Message edited by: Hemant Agarwal ]
 
Don't get me started about those stupid light bulbs.
 
subject: Unknown RunTime Error when I try to modify innerHTML inside IE