Hi,
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.
Regards,
Sanjay
Solved! Go to Solution.
Views
Replies
Total Likes
Hi ,
I tried below and it is working for me.
var titleFromDialog = $(".button-link").val();
console.log(titleFromDialog)
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...
Thanks,
Kiran Vedantam.
Hi ,
I tried below and it is working for me.
var titleFromDialog = $(".button-link").val();
console.log(titleFromDialog)