如果我们要判断浏览器类型是可以通过navigator.userAgent命令来获得里面的头部信息的,下面来看一个例子,具体如下:
$(document).ready(function()
{
var explorer =navigator.userAgent ;
//ie
if (explorer.indexOf("MSIE") >= 0) ...
JQUERY.COOKIE是一个集成了js的cookie操作的一个插件了,此插件使用简单并且可以达到对cookie读写删除操作,下文为各位深入的介绍。
jQuery.cookie的基本用法:
Include script after the jQuery library (unless you are packaging scripts somehow else):
<script src="/path/to/jquery.cookie.js"></script&g...