许zhe(提问者) 回复 ycming7474localStorage.setItem(\"p_name\", p_name);
这个是值存入cookie里的
var col = contentPane.curLGP.getTDRow(contentPane.curLGP.currentTDCell);
var row = contentPane.curLGP.getTDCol(contentPane.curLGP.currentTDCell);
这两句就是获取当前单元格行列号
var state = localStorage.getItem(\"p_name\"); //这句就是从cookie里把值都那出来,不过是个字符串
var strs= new Array(); //定义一数组
strs=state.split(\",\"); //字符分割
for (i=0;i
许zhe(提问者)var col = contentPane.curLGP.getTDRow(contentPane.curLGP.currentTDCell);
var row = contentPane.curLGP.getTDCol(contentPane.curLGP.currentTDCell);
var state = localStorage.getItem(\"p_name\");
var strs= new Array(); //定义一数组
strs=state.split(\",\"); //字符分割
for (i=0;i