c# - Send complex data from Javascript -


I have a WPB application with a WebBrowser control that displays the webpage with JavaScript.

Javascript, I can call the C # function. I do not use "Window.External" because I will use Xeramin to make cross-platform. window. Works with external webbroader objects. On iOS, that window will be another object (UIWebView I think) that window. Does not support external.

So I call the function via URL:

  window location.href = 'myApp: // myFunction? Ultimate 1 = '+ Ultimate 1;   

It is working, but now I have to do complex data parameters (for example a config file.), But the URL size seems limiting ?? |

Is there any way to do this? Do you know how this is done with PhoneGap for example?

Is it possible to modify the webpage header using javascript?

You can use AJAX, which is a javascript feature, which allows you to connect to your server and Allows to transmit data interactively. To make it easy for you, you can add the jQuery library to your webpage, which helps you reduce the amount of code you write to get the results you want.

About the relative Stack Overflow is discussed here Functionality:



Comments

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -