一起写答案,哈哈哈

来源:8-11 Location对象

逃离外包

2019-01-28 10:15

<!DOCTYPE HTML>

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<title>location</title>

</head>

 <script type="text/javascript">

        document.write(window.location.href);

     

 </script>


<body>

</body>

</html>


写回答 关注

27回答

  • ChuSSihao
    2019-09-03 23:08:50
    已采纳

    document.write(window.location.href);

  • 慕设计7037373
    2021-10-25 14:14:49

     document.write(location.href);

  • qq_慕UI2363209
    2021-04-09 09:27:27

    document.write(window.location.href);

  • Devil_7
    2021-03-19 10:43:25

     document.write(window.location.href);

  • 慕神3271549
    2021-02-24 13:12:31

    document.write(location.href);   

  • 奋进的贤贤
    2021-02-21 19:46:32

    document.write(window.location.href);

  • weixin_慕前端1328054
    2021-01-20 14:37:30

    document.write(window.location.href);

  • 慕UI9531486
    2021-01-15 14:04:19

    document.write(window.location.href);

  • 小虾米爱上大猫咪
    2020-11-30 15:55:22

    document.write(window.location.href);

  • 懒狗i
    2020-11-19 16:59:05

     document.write(window.location.href);

         


  • 慕仰3011968
    2020-09-08 18:05:37

    document.write(window.location.href);

  • qq_慕码人3125019
    2020-07-27 14:29:07

    document.write(window.location.href)

  • 慕仙8176093
    2020-07-22 08:30:36

     document.write(window.location.href);

  • SpecialMe
    2020-06-24 23:16:24

    document.write(location.href);

  • Angelina丶
    2020-06-02 00:03:13

    document.write(location.href);

  • 慕仙3115898
    2020-01-18 20:53:41

     document.write(window.location.href);

  • in_Yuyu
    2019-12-12 14:26:16

     document.write(window.location.href);

  • 巧克力慕丝
    2019-11-19 16:07:09

     document.write(window.location.href);

  • 繁湖
    2019-11-15 10:51:54

     document.write(window.location.href);

  • weixin_慕慕4529535
    2019-11-12 13:39:08

    document.write(window.location.href);

  • 慕沐611886
    2019-10-31 11:54:10

    document.write(window.location.href);

  • 慕粉3545689
    2019-08-12 02:29:16

    document.write(window.location.href);

  • 慕侠8168580
    2019-08-02 09:04:03

    document.write(window.location.href);

  • 慕数据1404508
    2019-07-22 16:04:35

    document.write(window.location.href);

  • qq_吉尔伽美什_7
    2019-07-16 15:54:43

     document.write(window.location.href);

  • 慕侠5530338
    2019-05-07 16:57:16

     document.write(window.location.href);

  • 慕侠5530338
    2019-05-07 16:56:51

    hhhh,我来赚一分

JavaScript进阶篇

本课程从如何插入JS代码开始,带您进入网页动态交互世界

468060 学习 · 21891 问题

查看课程

相似问题