[thelist] js include error in IE 3

nate koechley nate at vicksburgcollective.com
Wed Dec 5 13:57:07 CST 2001


hey folks,

i've run across a silly problem with IE 3. does anyone know if IE3/pc does 
or doesn't support included js files?

In a simple html page, i link in a js file. problem is, when i call a 
function defined in the included file, i get "function not defined" in IE 
3. Here's the general structure.

=====JS FILE=====
function hello()
         {
         alert('hello');
         }
===============

=====HTML FILE====
<html>
         <head>
                 <script src="jsfile.js"></script>
         </head>
         <body>
                 <script>
                 hello();
                 </script>
         </body>
</html>
======HTML FILE=====

so the question is, is this a timing issues, a code issue, or a IE3/pc bug? 
Does IE3/pc not support calling functions defined in included files?

thanks,
nate

nate koechley







More information about the thelist mailing list