S
steven.harms
I'm *sure* this has to be a FAQ and I see discussions of this in the
clj archives, but I don't see the answer. Perhaps someone here can
point the clueless, but...
1. I create an HTML document that validates at w3c
2. I use:
<script language="JavaScript" type="text/javascript"
src="dashboard.js" ></script>
3. <body onload="something_in_dashboard_js()">
4. In Firefox, it works beautifully ( no shock )
5. In IE it does not ( no shock )
6. If i put the function in inline <script> tags in my HTML, the JS
runs fine (no syntax error).
clj archives, but I don't see the answer. Perhaps someone here can
point the clueless, but...
1. I create an HTML document that validates at w3c
2. I use:
<script language="JavaScript" type="text/javascript"
src="dashboard.js" ></script>
3. <body onload="something_in_dashboard_js()">
4. In Firefox, it works beautifully ( no shock )
5. In IE it does not ( no shock )
6. If i put the function in inline <script> tags in my HTML, the JS
runs fine (no syntax error).