Your b4a code can execute any javascript in a WebView - so yes you can send data to the webpage javascript.
You can execute that javascript by prefixing the javascript statement(s) with the
javascript: protocol and then using the WebView
LoadUrl method.
Say you want to execute the javascript statement:
You can execute that statement using this syntax:
MyWebView.LoadUrl("javascript:myFunction(1, 20);")
WebViewExtras has a method
executeJavascript which you could use instead:
MyWebViewExtras.executeJavascript(MyWebView, "myFunction(1, 20);")
Both techniques are identical - the executeJavascript method simply takes the javascript statement(s), adds the 'javascript:' protocol and then calls the WebVew LoadUrl method.
Martin.