how to call javascript file in html

EDUPTHUND

New Member
I am trying to call \[code\]innerHtml\[/code\] in JavaScript its working in the same file but not in the separate JavaScript js file. my working code is \[code\]<script type="text/javascript">my() document.getElementById("abc").innerHTML="hello";} </script><div id="abc" onmouseover ="my()"> hi hw ru </div>\[/code\]But if I invoke this method in separate JavaScript file its not working even I am giving the source path of the JavaScript file like\[code\]<script type="text/javascript" src="http://stackoverflow.com/questions/13835150/js/framemrq.js">\[/code\]
 
Back
Top