当前位置:网站首页>Js学习笔记(四)
Js学习笔记(四)
2022-08-03 05:09:00 【一个从机械跳计算机的小菜鸡】
(106条消息) 使用JS实现表单验证_星海少年的博客-CSDN博客_js表单验证
表单验证;
(106条消息) 使用JS实现表单验证_星海少年的博客-CSDN博客_js表单验证
复选框的全选和取消;
获取下拉列表的value;
周期函数setInterval;
支持内置类Array;
BOM编程的open和close;

弹出确认框;
BOM编程的history和location;
window 对象给我们提供了一个 location 属性用于获取或设置窗体的 URL,并且可以用于解析 URL 。 因为这个属性返回的是一个对象,所以我们将这个属性也称为 location 对象。
history 对象一般在实际开发中比较少用,但是会在一些 OA 办公系统中见到
将当前窗口设置为顶级窗口;
if (window.top != window.self) {
window.top.location = window.self.location;
}json是轻量级的数据传输格式

json是无类型的对象

json是已经实现了的对象
边栏推荐
猜你喜欢

GIS数据漫谈(六)— 投影坐标系统

typescript44-对象之间的类兼容器

Install IIS services (Internet Information Services (Internet Information Services, abbreviated IIS, Internet Information Services)

高可用 两地三中心

2. 两数相加

MCM box model modeling method and source analysis of atmospheric O3

【生物素叠氮化物|cas:908007-17-0】价格_厂家

js实现一个 bind 函数

Installation of Apache DolphinScheduler version 2.0.5 distributed cluster

shell script loop statement
随机推荐
rosbag工具plotjuggler无法打开rosbag的问题
[Harmony OS] [ARK UI] ETS context basic operations
Fluorescent marker peptides FITC/AMC/FAM/Rhodamine TAMRA/Cy3 / Cy5 / Cy7 - Peptide
1054 求平均值 (20 分)
Odps temporary query can write SQL, turned out to a named?
shell脚本循环语句
1069 微博转发抽奖 (20 分)(C语言)
多肽介导PEG磷脂——靶向功能材料之DSPE-PEG-RGD/TAT/NGR/APRPG
Kotlin-Flow common encapsulation class: the use of StateFlow
Install IIS services (Internet Information Services (Internet Information Services, abbreviated IIS, Internet Information Services)
反射注解基础
Interface test framework combat (1) | Requests and interface request construction
在树莓派上搭建属于自己的网页(1)
在线密码生成工具推荐
Harmony OS ets ArkUI 】 【 】 the development basic page layout and data connection
DFS's complement to pruning
接口和抽象
Interface Test Framework Practice | Process Encapsulation and Test Case Design Based on Encrypted Interface
UV decomposition of biotin - PEG2 - azide | CAS: 1192802-98-4 biotin connectors
测试人员的价值体现在哪里