I am getting following error on my JSP page when I use localstorage
localstorage is undefined
Following is the sample JSP code
if(localstorage['ScriptActivityHelpSectionHidden']!='undefined')
{
helpSectionHidden=localstorage['ScriptActivityHelpSectionHidden'];
if(helpSectionHidden=='true')
{
setEditorWidthForActivity(helpId);
}else
{
$("#helpId").show();
}
}
您拼写错误,情况很重要: localStorage
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.