2016年1月10日

ASP 中 Cookies 的 Expires 属性的设置(JS版本)

摘要: 直接上代码,代码中有注释 欢迎,这是您第一次访问该页面"); } else { numVisits++; Response.Write("这是您第 " + numVisits + " 次访问"); Response.Cookies("numvisits") = numVisits; } %> JavaScript 脚本编写 Cookies 的 Expires ... 阅读全文

posted @ 2016-01-10 23:30 pchmonster 阅读(2278) 评论(0) 推荐(0) 编辑

JavaScript 中数组实用浅析

摘要: 本文适用于HTML、ASP 中的 JavaScript 脚本代码。代码以 HTML 中的 JS 为例,如果在 ASP 中,请将 document.write 改为 Response.Write 即可。 小贴士 编写 JS 最好的方式就是将代码存为.js的独立文件,并在 html 文档最后 标签之前放置 标签,并把它的 src 属性指向该文件。 数组 (array) 是一种可以... 阅读全文

posted @ 2016-01-10 23:03 pchmonster 阅读(790) 评论(0) 推荐(0) 编辑

导航