Return a variable from a Javascript function

Answered
0
0

Hi,

I’m currently creating an app using Javascript(forced to do it) and vb.net, and i wanted to know if there’s a way to get the return variabile on the vb.net code

I know that Js and Vb.net\C# works on different levels, but i’d like to know if there’s a way

Thanks

  • You must to post comments
Best Answer
0
0

With or without Wisej?

With Wisej you can add the [WebMethod] attribute to any method and call it directly from javascript. See https://wisej.com/docs/2.0/html/JavaScriptObjectModel.htm.

Without Wisej you’d have to pick one of the many web service libraries, host the server code, handle the session if you need it, etc.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.