Sign in to Community
Sign in to view all badges
Expand my Community achievements bar.
How can we access component cq:dialog properties(name, description) using simple client side js .
Using server side js we can able to access easily.
Go to Solution.
I tried below and it is working for me.
var titleFromDialog = $(".button-link").val();console.log(titleFromDialog)
View solution in original post
Read the properties in component.html using sightly and keep them as hidden fields and then access in ur js file.
Please check my answer here : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/htl-expression-in-javascri...