I have this simple search engine, it works in all browsers, even in android chrome, but it does not work in Webviews, some suggestion of what it might be and if there is any other compatible code that can replace this, without being by javascript, using target
and action
for example, and how to enable this for webview ??
<form align="center" method="GET">
<input type="text" placeholder="Digite Sua Pergunta Aqui" autofocus name="query" size="50">
<input type="submit" onclick="myFunction()" value="Buscar">
</form>
<script>
function myFunction() {
var query = document.getElementsByName('query')[0];
window.open("endereco_site" + query.value);
}
</script>