Hmm I apparently can't comment so here's a more detailed explanation of Noddy Cha's answer.
To get values:
NSString * textBox1Value = [myWebView stringByEvaluatingJavaScriptFromString:@"document.getElementByid(\"tab1\").value"];
NSString * textBox2Value = [myWebView stringByEvaluatingJavaScriptFromString:@"document.getElementByid(\"tab2\").value"];
To set values:
NSString * ignoredString1 = [myWebView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementByid(\"tab1\").value = \"%@\"", textBox1Value]];
NSString * ignoredString2 = [myWebView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementByid(\"tab2\").value = \"%@\"", textBox2Value]];
Hope this helps.