HI ,
i am having a table like
<table id="toc" class="toc" border="1" summary="Contents">
</table>
in many pages .. All these pages are rendered in a single page . when i apply the javascript to delete that using on load . 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?? Edit : I myself found the solution window.onLoad = load(); function load(){var tbl = document.getElementById('toc'); if(tbl) tbl.parentNode.removeChild(tbl);}
Thanks for everyone helped..