jolietjake
03-21-2003, 10:31 AM
Hello, have some problem.
I've a table, with some records. When a user wants to delete a record (a row) I use this function:
document.getElementById("tr-"+idrecord).innerHTML="";
when tr-idrecord is the id I gave to the <tr> tag that I want to delete.
This works perfectly on Mozilla, but in MSIExplorer geves me a unknow runtime exception.
I think it is because it tries to delete the html that runs the function, so I tried to call it use a setTimeout, but no worked.
Someone can helpme?
I've a table, with some records. When a user wants to delete a record (a row) I use this function:
document.getElementById("tr-"+idrecord).innerHTML="";
when tr-idrecord is the id I gave to the <tr> tag that I want to delete.
This works perfectly on Mozilla, but in MSIExplorer geves me a unknow runtime exception.
I think it is because it tries to delete the html that runs the function, so I tried to call it use a setTimeout, but no worked.
Someone can helpme?