本文实例讲述了JavaScript操作Cookie方法。分享给大家供大家参考。具体如下:
// My methods for setting, reading and deleting cookies.
// I have methods to check for the existence of cookie names or values,
// to retrieve by name or value, and to create a formatted string of
// all the cookies.
// My site: andrew.dx.am
var SetCook