Skip to Main Content

How to pass a variable to a modal dialog

jacklessNov 3 2021

I'm using some javascript to get the selected row of an IG. The data I select is an ID that i want to pass to a item on the modul dialog but the typical ways of passing them (f.e. setting the items when defining the link to the dialog) doesn't work.
The process in the end should work like this:
The user selects a row on Page1 (Is Working)
Selected Data is passed to an hidden item on page1 (Is Working)
Click on Button on page1 opens the modul dialog (Is Working)
The display only Item "ID" on the dialog page is set to the hidden item from page1 (Not Working)
Thanks a lot in advance!

This post has been answered by Pierre Yotti on Nov 3 2021
Jump to Answer
Post Details
Added on Nov 3 2021