掲示板

Dynamically add <aui:select> using <aui:script>

thumbnail
11年前 に Anurag Piyush によって更新されました。

Dynamically add <aui:select> using <aui:script>

New Member 投稿: 24 参加年月日: 12/07/19 最新の投稿
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
thumbnail
11年前 に Samuel Kong によって更新されました。

RE: Dynamically add <aui:select> using <aui:script>

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
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.