I want to load a specific part of a webpage on a UIWebView
[_webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://jlhs.schoolloop.com/mobile/login"]]];
[_webView loadHTMLString:@"<html><body><div class="slideshow_outer"></div></body></html>" baseURL:nil];
[_webView setNeedsDisplay];
The first is the website address The second is the part of the HTML I want to load and the third is to display it.
I get an error on the HTML string I put. How do I fix this or is there a better way of writing it? It won't work, how do I go on with this?