博客
关于我
JS-BOM
阅读量:344 次
发布时间:2019-03-04

本文共 333 字,大约阅读时间需要 1 分钟。

一、思维导图

二、window.open

当关闭窗体时,window.close()

三、window.confirm

四、window.history

五、设置浏览器地址栏上的URL

function gobaidu(){    window.location.href="http://www.baidu.com";}

六、那些方式可以浏览器往服务器发送请求?

1、表单form的提交

2、超链接

3、document.location

4、window.location

5、window.open("url");

6、直接在浏览器地址栏上输入URL,然后回车。(这个也可以手动输入)

 

以上所有请求方式均可以携带数据给服务器,只有通过表单提交的数据才是动态的。

转载地址:http://wihe.baihongyu.com/

你可能感兴趣的文章
nnU-Net 终极指南
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
No 'Access-Control-Allow-Origin' header is present on the requested resource.
查看>>
NO 157 去掉禅道访问地址中的zentao
查看>>
no available service ‘default‘ found, please make sure registry config corre seata
查看>>
No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
查看>>
no connection could be made because the target machine actively refused it.问题解决
查看>>
No Datastore Session bound to thread, and configuration does not allow creation of non-transactional
查看>>
No fallbackFactory instance of type class com.ruoyi---SpringCloud Alibaba_若依微服务框架改造---工作笔记005
查看>>
No Feign Client for loadBalancing defined. Did you forget to include spring-cloud-starter-loadbalanc
查看>>
No mapping found for HTTP request with URI [/...] in DispatcherServlet with name ...的解决方法
查看>>
No mapping found for HTTP request with URI [/logout.do] in DispatcherServlet with name 'springmvc'
查看>>