give relative path in javascript file in asp.net folder -


i trying use relative path in javascript json file placed in asp.net folder structure. file using d3.json(). have used below code

d3.json("../resources/flare.json", function (error, root) { ...some code; }); 

here directory structure:

directory structure

unfortunately, not working.

i getting error :cross origin requests supported protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource.


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -