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

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -