Pass value ​​between javascript and wisej

0
0

Hello:

I have a javascript function that I execute and I get a value in the deviceSessionId variable.

<script type="text/javascript">
var deviceSessionId = OpenPay.deviceData.setup();
</script>

but I need to send it to a Textbox control. How can I do it?

 

 

 

  • You must to post comments
0
0

Hi

you may try declaring a WebMethod and call it from JavaScript.
You can pass parameters and get the return type.
See here:

https://docs.wisej.com/docs/concepts/javascript-object-model#remote-methods

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.