📄 tryit_view.asp@filename=tryjs_location
字号:
<html>
<head>
<script type="text/javascript">
function currLocation()
{
alert(window.location);
}
function newLocation()
{
window.location="../default.htm";
}
</script>
</head>
<body>
<input type="button" onclick="currLocation()" value="Show current URL">
<input type="button" onclick="newLocation()" value="Change URL">
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -