img怎样得到cookie <img src="http://asfsadfsadf.com/1.asp?r=0.123456">src有setcookie 我怎样能得到cookie ?比如<img src="http://asfsadfsadf.com/1.asp?r=0.123456" onload="alert(cookie);"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 读cookie啊function getCookie(c_name){if (document.cookie.length>0) { c_start=document.cookie.indexOf(c_name + "=") if (c_start!=-1) { c_start=c_start + c_name.length+1 c_end=document.cookie.indexOf(";",c_start) if (c_end==-1) c_end=document.cookie.length return unescape(document.cookie.substring(c_start,c_end)) } }return ""} ★★100分★★火狐下窗口onresize的时候DIV的位置调整的问题 如何拆分字符串中的数字!!!!!!!!!!!!!!!!!!!! 求助 怎样让一个文本框的内容在被点击 或者 获得焦点后 内容全选高亮显示或直接消失 FCKeditor如何编辑整个html页面呢? 江湖救急!关于四舍五入的问题!在线等待! setInterval 执行错误 ***这个用javascript应该则么实现?*** 如何在MS Agent精灵组件的balloon中嵌套对话框 层的阴影显示与删除问题?高手指教一下!!! 关于 javascript 返回值的问题 怎么将javascript变量值传递到href连接中
function getCookie(c_name)
{
if (document.cookie.length>0)
{
c_start=document.cookie.indexOf(c_name + "=")
if (c_start!=-1)
{
c_start=c_start + c_name.length+1
c_end=document.cookie.indexOf(";",c_start)
if (c_end==-1) c_end=document.cookie.length
return unescape(document.cookie.substring(c_start,c_end))
}
}
return ""
}