问题
For Xamarin.iOS/Monotouch it is simple to retrieve a string when evaluating javascript.
e.g.
string elementValue = browser.EvaluateJavascript("document.getElementById('Id').value");
if(elementValue != "")
{
DoSomething();
}
Could anybody provide an example of how to do this for Xamarin. Android/Monodroid using loadURL(javascript:)?
来源:https://stackoverflow.com/questions/22100373/how-to-evaluate-javascript-in-xamarin-android-monodroid-and-retrieve-result