J jkhazraji Active Member Licensed User Longtime User May 2, 2022 #1 Good Evening, Is there a way to get a value from a javascript ajax function to the B4J (Web app) program to log the var value below e.g, Suppose you have this part of code in you index.html: (HTML/ Javascript ) . JavaScript: <script> . . . $(document).on('click', '.button', function(){ var my_id = $(this).data('my_data__id') . . }); . . . </script> How to get the (my_id) to be exposed to the B4J app??
Good Evening, Is there a way to get a value from a javascript ajax function to the B4J (Web app) program to log the var value below e.g, Suppose you have this part of code in you index.html: (HTML/ Javascript ) . JavaScript: <script> . . . $(document).on('click', '.button', function(){ var my_id = $(this).data('my_data__id') . . }); . . . </script> How to get the (my_id) to be exposed to the B4J app??
jahswant Well-Known Member Licensed User Longtime User May 2, 2022 #2 Use B4J_RaiseEvent paramèters IS a map Upvote 1