<\/script>')

Jquery jstorage problem on IE8?

I am using jquery jstorage in my jsp

import application

<script type="text/javascript" src='<s:url value="/script/jstorage.min.js"/>'></script> 

here I set the value in jstorage var customerId = $ .jStorage.get ("customerId", true); // line

 i can see below errors in my console SCRIPT5022: jQuery, MooTools or Prototype needs to be loaded before jStorage! jstorage.min.js?ver=4.5.8, line 2 character 315 SCRIPT5007: Unable to get value of the property 'get': object is null or undefined 

somehow $ .jStorage is null in IE in line1 but not firefox / chrome (therefore it works on firefox / chrome).

+4
source share
1 answer

Users received a fix. I need to import jquery.json-2.3.min.js so that it works on IE

+3
source

All Articles