Running Ajax (JSON) example locally
Running Ajax (JSON) example locally
Works in IE, Google Chrome and Safari, but it refuses to show the data in Firefox. I am sure it is because I am running it as a file locally as the site works fine from datatables.net.
I have looked through all the security options, downloaded local files plugin, all to no avail. Has anybody come across this issue before (the js-array works fine as to the others DOM etc).
Help as I need this to run without a web server.
Thanks in advance
I have looked through all the security options, downloaded local files plugin, all to no avail. Has anybody come across this issue before (the js-array works fine as to the others DOM etc).
Help as I need this to run without a web server.
Thanks in advance
This discussion has been closed.
Replies
Are you loading the file as "file://..." in the XHR then? I'm not entirely sure what Firefox's security policy would be on this. Perhaps the easiest way to find out if it should work is construct a very simple 'GET' page. Also, the Firebug console is normally quite good about giving information for security policies which might be hit.
Regards,
Allan
It does seem to be security, but as this is only running locally in a static format, I have seperated Firefox and Others, with firefox using js_array and all others (tested and working) using json. I find JSON seems to perform better than js_array on IE..