I use the code to load a request
[self.webview loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.wezeit.com/contentClient.php?postId=76949"]]];
and i use the code below to underline the text
- (void)note:(id)sender{
NSString *result = [self stringByEvaluatingJavaScriptFromString:@"document.execCommand(\"Underline\")"];
NSLog(@"result %@",result);
}
but it doesn't work. Why?