javascript - HTML Injection Windows RT WebView -


i'am trying insert values html document on windows universal app, html document located on webserver , i'am trying insert username , password saved on client device winphone or pc store app, know id , every thing elemts, cant figure out how insert string input value, can provied sample invokescript("smth", new string[] {smthelse});

or has better idea insert username , password html content of webview?

i'am stuck here , realy need feature.

thanks in advance

add code below xaml , give go. if know id, can set value doing script injection page.

private async void button_click(object sender, routedeventargs e) {     string functionstring = string.format("document.getelementbyid('namediv').innertext = 'hello, {0}';", nametextbox.text);     await webview1.invokescriptasync("eval", new string[] { functionstring }); } 

don't naughty. healy in tampa.


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -