html file not call from other server , with jquery .load() -
i have code
$(document).ready(function(){ $('.designer').load('http://www.barsamservice.com/1.txt'); });
but , text file not loaded .
but if download text file , upload in server . text file loaded
how use access-control-allow-origin
this due same origin policy. can information if other server has running service reading text file , gives output on request.
Comments
Post a Comment