I'm trying to load a local html file in a div when a certain pressed with the following jquery load command.
$("#div_name").load("local_html_file");
But I'm getting the following error.
MLHttpRequest cannot load file:///path/to/file.html. Received an invalid response. Origin 'null' is therefore not allowed access.
I'm not running any special servers. Just running my html files with Chrome. I searched it and kind of know what the problem is but don't know how to solve it.