Tuesday, 12 February 2013

Removing/ Deleting Report Links in a Page

Please add the below piece of code in the Text object with HTML check box enabled.

<head>
<script type="text/javascript">
var element1 = document.getElementsByTagName('td');
var count=0;
var classname2 ="ResultLinksCell";
for (var j = 0; j < element1.length; j++)
{
var classes1 = element1[j].className;
if (classes1==classname2)
 {
 count=count+1;
 {
 element1[j].parentNode.removeChild(element1[j]);
 }
 }
}
</script>
</head>

But the '-' will remain and if needed you can move these to the extreme below of the page with my previous blogs enteries.

Comments are always welcome...