⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 8-3.html

📁 文件是《精通Javascript+jQuery》的书中实例
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>括号不匹配</title>
<script language="javascript">
function testPic(x, start, end){
if(x<=end && x>=start){
if(x==start){
alert(x+" is the start of the range");
}
if(x==end){
alert(x+" is the end of the range");
}
if(x!=start && x!=end){
alert(x+" is in the range");
} else{
alert(x+" is not in the range");
}
}
testPic(7,5,8);
</script>
</head>
<body>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -