[OutSystems Data Grid Web] How can I pass the value to the screen action
Question

I write some JS code in the WebBlock to get the value that I want and put the WebBlock in the screen, so it will be processed when some event happened.

In the last of the JS code, I writed the code as below to pass the value to the local variable. But it doesn't work.

    document.getElementById('"+Var3.Id+"').value ="the value that i want";

How can I pass the value to the local variable or screen action?


problem solved!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.