nitin bhardwaj

nitin bhardwaj

  • NA
  • 18
  • 14.6k

set Local file name load event in html

May 3 2017 6:27 AM
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)