3
Reply

set Local file name load event in html

nitin bhardwaj

nitin bhardwaj

May 3 2017 6:27 AM
276
Hi,
 
This is the code. 
$("#integrated").load('page2.html'); 
 
Error:
XMLHttpRequest cannot load file:///C:/Users/page.html. Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https, chrome-extension-resource. 
 
Note: Error show only in Crome Browser 

Answers (3)