Error as XMLHttpRequest cannot load

Error as XMLHttpRequest cannot load

Error as XMLHttpRequest cannot load  url. Response to preflight 

request doesn't pass access control check: No 

'Access-Control-Allow-Origin' header is 

present on the requested resource. Origin 

'null' is therefore not allowed access.


how to  resolve  this . error