change content of uiwebview div object
is there any way to change the content of uiwebview in iphone app开发者_JS百科lication? by using div or else.
my problem is that, to append data to uiwebview at any time. it think it can be done by replacing div content?
You can change like this
[webview stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementById('divtagId').innerHTML ='%@';",newContent]];
精彩评论