Fórum
Dynamically add <aui:select> using <aui:script>
Anurag Piyush, modificado 11 Anos atrás.
Dynamically add <aui:select> using <aui:script>
New Member Postagens: 24 Data de Entrada: 19/07/12 Postagens Recentes
Hi,
I want to add <aui:select> using <aui:script>.
We can add dynamic element using javascript document.createElement() but I am unable to add aui:select using <aui:script> .
Can any buddy suggest me how to add dynamic child.
Thank you in advance!
Anurag
I want to add <aui:select> using <aui:script>.
We can add dynamic element using javascript document.createElement() but I am unable to add aui:select using <aui:script> .
Can any buddy suggest me how to add dynamic child.
Thank you in advance!
Anurag
Samuel Kong, modificado 11 Anos atrás.
RE: Dynamically add <aui:select> using <aui:script>
Liferay Legend Postagens: 1902 Data de Entrada: 10/03/08 Postagens Recentes
This is not possible. JavaScript runs on the client's browser and the browser knows nothing about how to handle <aui:select>. You'll have to add a regular <select> element instead.