I have added JS as a field on Joomla Seblod, which calls a JS file in my file system my_profile.js as follows-
jQuery.getScript("/components/com_msp/js/my_profile.js")
.done(function(script, textStatus) {
console.log('inside success in seblod');
main();
}).fail(function( jqxhr, settings, exception ) {
console.log('JS failed in seblod..');
console.log(JSON.stringify(jqxhr));
console.log( "Error:" + settings + ' : ' + exception );
});
On Chrome, the JS is called correctly and all the code works (I also get inside success in seblod
message on the Inspect console), but on IE I get this on the console-
The code on this page disabled back and forward caching.
JS failed in seblod..
Error:parsererror : SyntaxError: Expected identifier
The code inside the files and everything is the same. Till yesterday I could see the changes on IE as well.