Hi Erel,
Can you help check my code is correctly? I try use java by doing 2 method. The first method don't show anything and problem still find. The second method show error as attach picture.
First method:
Sub button_Click
Dim NativeMe As NativeObject = webview2
NativeMe.RunMethod("stringByEvaluatingJavaScriptFromString:", Array("document.getElementById('net_ap_ssid').tabIndex = -1;"))
NativeMe.RunMethod("stringByEvaluatingJavaScriptFromString:", Array("document.getElementById('net_ap_sec').tabIndex = -1;"))
End Sub
Second method:
Sub button_Click
Dim NativeMe As NativeObject = webview2
NativeMe.RunMethod("Cleartab", Null)
End Sub
#If OBJC
-(void) Cleartab
{
document.getElementById("net_ssid").tabIndex = -1;
document.getElementById("net_sec").tabIndex = -1;
}
#End if