IE8上的Jquery jstorage问题

Jquery jstorage issue on IE8?

本文关键字:问题 jstorage Jquery 上的 IE8      更新时间:2023-09-26

我正在使用jquery jstorage在我的jsp

导入声明

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

这里是我在jstorage中设置的值var customerId = $. jstorage . var得到("customerId",真);//

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 

美元。

jStorage在IE的line1是空的,但不是firefox/chrome(所以适用于firefox/chrome)。

人们得到了修复。需要导入jquery.json-2.3 min.js才能在IE上运行