场景:iframe创建一只cookie,关闭该弹出式iframe,再转向新的页面,该cookie变为undefined?!蹊跷。
尝试一: $.cookie("PhotosSelected", "", { expires: 1,secure:false,path:'/'});
尝试二: $.cookie("PhotosSelected", "", { expires: 1,secure:false,path:'/',domain:'localhost'});
结果:cookie不再undefined,但还是空值。
求各路英杰帮忙。