Skip to Content
0
Former Member
Aug 08, 2016 at 08:58 AM

Hide/display elements dynamically

344 Views

Hi all,

i'm new on BSP. I need to hide/display elements dynamically. These elements are tray object (htmlb:tray).

I tested with javascript code as below but it don't work :

Javascript code :

<script type="text/javascript">

var e = document.getElementById("BBPW").style.visibility = "hidden";

</script>

my HTMLB code (sample) :

<htmlb:tray id="BBPW" title = "PRINT" width="1250" design = "TEXT" >

</htmlb:tray>

The use of JavaScript is the right solution? Can we make that otherwise?

Thanks for any help.

Regards