Onload event inside the url loaded via Webview


Please i have a page that contains the following

<!DOCTYPE html>
<html lang="en">
		<meta charset="utf-8">
		<title>Page title</title>
	<body onload="document.form.submit();">
		<div style="padding: 20px;">
			<h1 style="text-align:center;"><em>Please wait while we redirect you to the payment page...</em></h5>
		<form name="form" action="" method="post">
			<input type="hidden" name="response_url" value="<?php echo $formData['ReturnUrl']; ?>" />
			<input type="hidden" name="hash" value="<?php echo $formData['hash']; ?>" />

When loaded through Webview, the onload event is not called. Please how can i make this work or what’s the best approach to this?



Could you post a small reproduction of your issue? We are unable to do much without code to look at.