Thanks--I added 'debugger' to a few places in the code, but I'm still
not getting a dump of the call stack. I've attached the debugger to
the aspnet_wp process, and I checked both the CLR and Script options.
I also attached the debugger to the firefox.exe process--is this ok?
Specifically, my problem is this--I've got one .aspx page that calls a
bunch of javascript functions, located in various files. These calls
are made when the .aspx page loads. Everything works fine in IE, but
in firefox, it looks like those javascript functions aren't being
called (I tried putting alerts in the callee functions, and those
alerts didn't execute). But when I copy & paste those JS function into
the .aspx page, they execute.
I read something here :
http://www.woodger.ca/httop.htm#incl_js and
the line that caught my eye was:
When using Navigator, you cannot use Windows notation for a file
directory location (i.e. "c:\html\the_script.js"). Instead, use the
browser file notation (e.g. "file:///C|/html/the_script.js") for
Navigator (IE supports either).
I tried changing the path to the javascript files, but that didn't do
anything--I don't completely understand what "browser file notation" is
and couldn't get any useful results when I typed "browser file
notation" in Google.
For example, if my .aspx file lives in C:/Inetpub/wwwroot/AppName, and
my javascript files are in the javascript subdirectory of AppName, I
tried to put
<script language="javascript"
src="file:///./javascript/jsFile1.js"></script>
and
<script language="javascript" src="file:///C|/[full path goes
here]/jsFile1.js"></script>
None of these worked, so I'm assuming it's my fault because I don't
know what "browser file notation" is.
What really throws me off is that I created a .htm file and had it
include 2 javascript files, and tested it in both IE and firefox, and
in both browsers I could execute the Javascript code.
So what I don't understand is:
1. Am I right in thinking that for some reason, Firefox can't find my
javascript files?
2. What is "browser file notation?"
3. Why would I be able to execute the javascript from a .htm but not
from a .aspx?
thanks in advance,
Amy