Hi,I am having the dialog type button in container, when the user clicks on button it will goes Javascript function. In javascript, is there any ways to fetch which button(child of container) has clicked by user in the DCR. Code Snippet: <container name="offers" min="0" max="99" default="1"> <label> Offers</label> <description>Current Offers</description> <dialog name="btn" label="Edit" type="button" function="show" rowcontinue="t"> <function-param> Promo </function-param> </dialog> <item name="promo" pathid="promo"> <text /> </item> </container>
Yes I am using Form API. When clicked on Button, Form API JS function will be calling here.Just take example. In container I am having 5 childrens(Buttons).I want to know in Form API, which button has called the function in 5 buttons.In container we cant pass diff function parameter for each button.