javascript - jquery load and working off local hard drive -


in pinch, we're trying convert bunch of production ui files can zip , send else view locally via local hard drive.

we're trying avoid messing current jquery as can.

right now, pages using js includes of sorts such as:

#('idhere').load('some/local/htmlfile.html') 

this, alas, triggers console error of:

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

is there way around cross origin issue when requesting files local drive (ie, file: protocol?)

you can start chrome --disable-web-security parameter it.

here full explanation disable same origin policy in chrome


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -