<pre class="brush: csharp">
crmForm.all.<fieldname>.parentElement.parentElement.parentElement.style.display="none";
//Another way from top down:
document.getElementById("tab<tabNo>").childNodes[0].rows[<sectionNo>].style.display = "none";
// <tabNo> is zero based tab number from left. <sectionNo> is zero based section number from top.
//To show it back, simply replace "none" with "block".
</pre>
crmForm.all.<fieldname>.parentElement.parentElement.parentElement.style.display="none";
//Another way from top down:
document.getElementById("tab<tabNo>").childNodes[0].rows[<sectionNo>].style.display = "none";
// <tabNo> is zero based tab number from left. <sectionNo> is zero based section number from top.
//To show it back, simply replace "none" with "block".
</pre>
No comments:
Post a Comment