[Portlet developpment] On load

Hi everybody,

I want to write a JavaScript code to hide some elements of my Portlet on load like the event onload in HTML.

Thank you !

Maybe you can use the Prototype library that comes with the CAF.

Event.observe(window, ‘load’, function() {
alert(‘Page Load’);
});

Thank you !!
It’s all what I want :wink: