<input id="hd_referrer" type="hidden" />
                <a href="javascript:void(0)" onclick="referurl(); ">返回 </a>
                <script>
                    $(function () {
                        $("#hd_referrer").val(document.referrer);
                    });

function referurl() {
                        var ref = $("#hd_referrer").val();
                        if (ref != "" && ref != "undefined") {
                            location.href = ref;
                        }
                        else {
                            location.href = history.back(-1);
                        }
                    }
                </script>

最新文章

  1. (转)asp.net中获得客户端的IP地址
  2. js中字符串和数组相互转化的方法
  3. Java 使用Redis缓存工具的图文详细方法
  4. Android图形显示之硬件抽象层Gralloc(hal 转)
  5. nsq的erlang客户端
  6. 学习PHP C扩展之面向对象开发方式 (转)
  7. 工具使用 eclipse the user operation is waiting for Building Working to be completed。
  8. margin负值-内秀篇
  9. org.springframework.expression.spel.SpelEvaluationException: EL1011E: Method call: Attempted to call method test() on null context object
  10. 房上的猫:HTML5基础
  11. linux下双网卡的绑定
  12. Java-IO之管道(PipedInputStream和PipedOutputStream)
  13. 【网摘】C#.NET 在 MVC 中动态绑定下拉菜单的方法
  14. bootstrap的引用和注意事项
  15. 【洛谷P1972】HH的项链 离线+树状数组
  16. 从RGB扫描图到数字化等高线矢量图
  17. MySQL优化系列
  18. 版本 ------- 2017年最受开发者欢迎的10个Linux发行版
  19. 从Runoob的Django教程学到的
  20. CCF CSP 201409-2 画图

热门文章

  1. 关于null和undefined
  2. LeetCode: Palindrome Partition
  3. JavaScript触摸与手势事件
  4. scala Option 里的 orNull orElse getOrElse 区别和使用
  5. Entity Framework实体框架使用TrackerEnabledDbContext进行操作日志跟踪
  6. this的分析分支
  7. python(2)-字符串(2)
  8. Java计算文件的SHA码和MD5码
  9. poj 1741 树的分治
  10. 编程计算int类型整数的最大值和最小值