Using javascript to show/hide elements of another portlet

Hello All!

Does anyone knows how to refer to elements that are part of another portlet using javascript?

The thing is that I want to hide/show an element that belogs to another portlet…

Thans a lot!
Pedro Cardoso

Hello again.

I’ve found a way of doing it…

In the portlet where the element you want to refer to exists, create a javascript block that registers a global hash where you register your element ID (afeter generation).

In the other portlet, just read from the hash the element id and do what ever you like with it.

Have fun!