Hi, All
But why JS does not work by default, like "alert()" function ?
Such enabling does not help:
Test project is attached, please, help to understand what is the trouble ?
But why JS does not work by default, like "alert()" function ?
Such enabling does not help:
B4X:
Sub B4JWebViewSettings(wv1 As WebView, parameter As String, value As Object)
wv1.As(JavaObject).RunMethodJO("getEngine", Null).RunMethod(parameter, Array(value)) 'Webview1.As(JavaObject).RunMethodJO("getEngine", Null).RunMethod("executeScript", Array(js))
End Sub
B4JWebViewSettings(WebView1, "setJavaScriptEnabled", True)
Test project is attached, please, help to understand what is the trouble ?
Attachments
Last edited: