Delete table in all the rendering pages of a single page in Javascript

Posted by Aruna on Stack Overflow See other posts from Stack Overflow or by Aruna
Published on 2010-04-22T10:20:06Z Indexed on 2010/04/22 10:23 UTC
Read the original article Hit count: 196

Filed under:
|
|

HI ,

i am having a table like

in many pages .. All these pages are rendered in a single page . when i apply the javascript to delete that using on load with the below

    var tbl = document.getElementById('toc');
    if(tbl) tbl.parentNode.removeChild(tbl);

Only one table is deleted and not the others

i am trying to delete the tables in all the rendering pages using javascript.how to do this??

© Stack Overflow or respective owner

Related posts about delete

Related posts about table