I have an HTML page in a Webview that has Javascript. The page has a button that calls a Javascript function to populate some text areas on the web page.
I would like to automatically populate the fields after the page is loaded so the user doesn’t need to do anything. I’ve include: <body onLoad="populate"; > to call the ‘populate’ Javascript function to replace pressing the button. This works okay on earlier Android versions but not on Android 11.
I wondered if using Webviewextras2 might help. I can’t see how to use Webviewextras2 to achieve this. Any help would be greatly appreciated.
I would like to automatically populate the fields after the page is loaded so the user doesn’t need to do anything. I’ve include: <body onLoad="populate"; > to call the ‘populate’ Javascript function to replace pressing the button. This works okay on earlier Android versions but not on Android 11.
I wondered if using Webviewextras2 might help. I can’t see how to use Webviewextras2 to achieve this. Any help would be greatly appreciated.