📄 dom.js
字号:
// a function to demonstrate three ways to address a form component
function modify()
{
// address through element hierarchy
window.document.forms[0].elements[0].options[1].selected = true;
// address by id hierarchy
window.document.forms.f.box.checked = true;
// address directly by id
window.document.getElementById("txt").value = "Modified";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -