javascript - Android counterpart for 'stringByEvaluatingJavaScriptFromString' -
supposedly have
nsstring *html = [webview stringbyevaluatingjavascriptfromstring:@"document.getelementbyid('infopageid').innerhtml"];
in ios. returns string value. now, can body me how can use function in android able value of html load webview. per research, looks way in android, don't know if right.
webview.loadurl("javascript:document.getelementbyid('infopageid').innerhtml");
i want know how able set value of in string.
Comments
Post a Comment