webview onload method

hi 

I create native.webview with request local html file , the <body > tag includes onload function , the **onload() **method works fine at simulator but when I tried at Android real device it’s not working, does it need any advance  permissions  ? or any  ideas  to help me out ?

 

My html file : 

<html>

<head></head>

<body onload =“myFun()” >

 <script> function myFun() {  window.scrollTo(0, 350); } </script>

</body></html>