Foros de discusión

How to change title of liferay ui panel dynamically.

Siraj Choudhary, modificado hace 9 años.

How to change title of liferay ui panel dynamically.

Junior Member Mensajes: 31 Fecha de incorporación: 13/11/13 Mensajes recientes
Hi,

I am working on liferay ui panel in liferay 6.2. I want to change title of liferay ui panel on click event dynamically. Please suggest me how to do that in javascript.
Below is the code, i have written to display liferay ui panel.

<liferay-ui:panel title="Hello" collapsible="true" extended="true" id="gamepanel">
<div id="demo"></div>
</liferay-ui:panel>


I want to change title value Hello to Hello World on click event.

Thank you,

Regards,
Siraj