4

I am facing the problem for several days, actually, ADD TO CART button is not working. In debug mode of Chrome below messages are generated :

Refused to execute script from 'http://www.planet-gadgets.ru/index.php/ajaxcartsuper/ajaxcart/add/uenc/aHR0…Gf08Ab/?callback=jQuery172003263813592517817_1484323397815&_=1484323616853' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

Uncaught TypeError: Cannot read property 'style' of null at Function.hide (prototype.js:1931) at klass.baseInitialize (controls.js:88) at klass.initialize (controls.js:347) at new klass (prototype.js:101) at klass.initAutocomplete (js.js:349) at (index):204

Any kind of help will be useful.

Thanks in advance.

1
  • I am having same issue. Finding for solution
    – Magento
    Aug 16, 2017 at 13:22

1 Answer 1

0

According to the accepted answer on this question you need to change the type to application/javascript instead of text/javascript.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.