In my HTML page, I have a div-reportControlPanel
as shown below. Additionally, I have included another div-reportControlPanel1
with a different ID.
<div id="reportControlPanel" class="pentaho-rounded-panel-bottom-lr pentaho-shadow">
<div id="promptPanel" class="pentaho-rounded-panel-bottom-lr"></div>
</div>
<div id="reportControlPanel1" class="pentaho-rounded-panel-bottom-lr pentaho-shadow">
<div id="promptPanel" class="pentaho-rounded-panel-bottom-lr"></div>
</div>
I am able to show/hide the div's
based on the URL that is triggered.
if(prptName == "css.prpt")
{
alert("if");
document.getElementById("reportControlPanel").style.display = 'none';
document.getElementById("reportControlPanel1").style.display = 'block';
}
However, since I am using the same sub-Div-promptPanel under two different div
, my content is not loading properly. The promptPanel
is part of the pentaho system
used div
. I am attempting to create another div
to modify some CSS for my prpt
.
Thank you.