📄 16.3.2 location对象_replace方法.html
字号:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<script>
function toReplace(sURL)
{
window.location.replace(sURL);
}
</script>
<form>
<input type="button" value="替换" onClick="toReplace('16.3.2 location对象_hash.html')">
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -