B4J Question Can you return a value from a javascript ajax function to the B4J program (Web App)

jkhazraji

Active Member
Licensed User
Longtime User
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??
 
Top