javascript - How to using two <script> 's in single View Page -


i have write code onload function. have scritps execute in click function. in same script window.load=alert("loaded"); not working open new

<script> window.load = alert("loaded"); </script> 

is working.

whats wrong code..

thanks in advance.

i think you.

<!doctype html> <html>         <body onload="myfunction()">    <h1>hello world!</h1>    <script>     function myfunction() {           alert("page loaded");    }    </script>        </body>   </html> 

Comments

Popular posts from this blog

Android : Making Listview full screen -

javascript - Parse JSON from the body of the POST -

javascript - Chrome Extension: Interacting with iframe embedded within popup -