<input type="button" value="Load" id="load" />
<div id="file"></div>
$(document).ready(function(){
$('#load').click(function(){
$('#file').load('test.html',function(){
alert('File loaded');
});
});
});
it is working fine in Mozilla Firefox ... but in chrome it's giving an error "XMLHttpRequest cannot load file:///D:/Tanveer%20Hussain/Jquery/test.html. Received an invalid response. Origin 'null' is therefore not allowed access",in javscript Console...