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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -