javascript - Key Value pair for cookies -
i having image icon on clicking should navigate other page ' <input type="image" id="datareview_' + templates[i].datafilekey + '" title="data review" src="images/datareview.png" style="height: 15px; width: 15px" onclick="datareview_tasks(this); return false;"/>\n' + in datareview_tasks() function below function datareview_tasks(inputob) { var info = new ioinfo(inputobj); var id = info.key(0); var tdlastdateid = "lastrun_" + id; var decoded_lastrundate = decodeuricomponent(trim($("#" + tdlastdateid).text())).split(" ")[0]; var lastrundate = encodeuricomponent(decoded_lastrundate); window.location('<%= resolveurl("~/gui/datareviewnew.aspx") %>'); i should making id , lastrundate cookies. how can approach this. i not sure why not holding value 54 while debugging, new javascript , not sure if giving them in d