<script src="../Scripts/jquery-1.4.1.js" type="text/javascript" ></script>
        <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript" ></script>
        <script src="../Scripts/jquery-1.4.1-vsdoc.js" type="text/javascript" ></script>
       <script src="../Scripts/jquery.cookie.js" type="text/javascript"></script>   放在后面呀!!!!!!!!!!!!!!!!!!!!
       
        <script language="javascript" type="text/javascript">

            $(document).ready(function () {

                if ($.cookie("the_cookie") != "the_value") {

                    $.cookie("the_cookie", "the_value", { expires: 2 });
                    alert("您好:为了获得更好的浏览体验,建议访问电脑版 http://XXXXXXXX ");
                    //alert($.cookie("the_cookie"));
                }

            });

        </script>

posted on 2018-08-09 10:28  qqhfeng16  阅读(158)  评论(0编辑  收藏  举报