Saturday, 2 February 2013

Disble the reports links using javascript

Hi All,

Find the bellow steps:

1. see below screen


2. Add Text Object to page and add bellow Java script and select containsHTML markep.
 <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>




3.Finally see blow serene



No comments:

Post a Comment