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
Post a Comment