[RESOLVED] Javascript: Inconsistent page behavior ...
Hi,
I'm using a *.js file in multiple pages of my ASPX application. Some pages with the file load just fine, while others give a javascript error when loading. Why is this? It's the same file, so why would it give an error when one page loads but no error when the other page loads? :confused:
Re: Javascript: Inconsistent page behavior ...
It depends upon what's in your code. You might be referencing elemnts that don't exist on the page, among many other reasons. You'll need to be more specific about the errors.
Re: Javascript: Inconsistent page behavior ...
This line of code seems to be causing the error:
VB Code:
xslproc.input = objSearchAssetCenter_XML;
The weird, stupid part is that it is in a function that isn't even being used by the page in which the error appears. :confused: There are no errors when the page that actually uses the function loads ... :confused: