Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

WebView EvaluateJavascript

$
0
0

How is the best way to get the results of a javascript function that is called with EvaluateJavascript? For example:

string js = "function myFunction(value1, value2) { if value1 > value2 return true else return false}};";
js += "var x = myFunction(100, 50);";

webview.EvaluateJavascript(js);


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>