.load() function does not work on chrome
i tried a lot to load an external html into a div using .load() in chrome (it works in ff, ee, safary and opera).
interesting point is online examples are working fine. but when i download the codes, chrome can not load external data on my machine!
any idea?
here is my load function:
$(function() {
$.build = {};
$.extend($.build , {
setup: function() {
$("#content").load("external.html",function() {alert('loaded');});
}
});
$.build.setup();
});
Reza Owliaei