Last post Mar 07, 2016 06:20 AM by Fei Han - MSFT
Mar 04, 2016 10:07 PM|rogersbr|LINK
Just cannot get past whats causing the .js files to fail to load?
<meta charset="utf-8" />
<link rel="stylesheet" type="text/css" href="styles/attributes/jchartfx.attributes.css" />
<link rel="stylesheet" type="text/css" href="styles/palettes/jchartfx.palette.css" />
<link rel="stylesheet" type="text/css" href="styles/jchartfx.userInterface.css" />
anything .css loads fine
No matter what is tried to set them up, they (any .js file) do not load. I can open the file, and added them by dragging from the /Scripts folder. have been trying for 2 days, looking at suggestions. its like some switch was set to OFF, or some really
simple thing is preventing it. NO charting functions work, and started digging deeper and using the F12 / Network can see they dont load.
What could be blocking these .js files from working?
Mar 05, 2016 07:53 AM|mazhar khan india|LINK
There is no error event for the script tag. You can tell when it is successful, and assume that it has not loaded after a timeout:
Please try below links.
Mar 05, 2016 01:45 PM|rogersbr|LINK
thank you for answering, that is interesting, if it loads you can take some action or perhaps use the state to show it never loaded. but Im trying to find out WHY, its not making sense why it refuses to load the .js files where all .css files do load. The
concept of why its not loading .js files is a mystery
I can drag image files into the script to load, they load fine
and the .css and .img load, exact same format of code the .js does not
Mar 07, 2016 06:20 AM|Fei Han - MSFT|LINK
In my opinion, the request status should not be 404 if the path of JS files are correct. Are you sure that the JS files could not be loaded even though you drag and drop the JS file into your web page directly? Besides, please check your application folder
structure to make sure whether you assign a correct file path to JS file.