NSString *htmlDataString = [newView stringByEvaluatingJavaScriptFromString: @"document.documentElement.getElementsByClassName('field-item even')[0]"];
The webview called newView is being setup correctly as it works for other bits of javascript so it must be in my syntax.
The div class looks like so:
<div class="field-item even" property="content:encoded">
After break pointing htmldatastring and stepping into it, it just has the values: @""
You are selecting element by id, but you gave it as a class in your markup. You should do:
Then refer in objc as: