im trying to create offline desktop application. everything is working fine. The only problem im getting right now its the Origin null is not allowed.
so i have stop doing ajax call. i have simple script include on html via
$('body').append('<script id="js-list" src="data/all.js"></script>');
after including this line, i still get Origin null is not allowed.
how can i include javascript file or is there anyway else i can include simple json data with keeping it in mind that it is for offline?
Why don’t you try this instead: