Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=GB2312" />
<title>Js数组对象方法应用示例</title>
</head>
<body style="overflow:auto;">
<div style="font-size:12px; font-weight:bold; color:white; font-family:Arial, 宋体; background-color:#6090DA; padding:4px 10px;">
<script type="text/javascript">
var user_inputs = new Array();
var str;
while(str=prompt("请输入任意内容:",""))user_inputs.push(str);
user_inputs.sort();
document.write("你输入的内容排序后的结果为:<br>"+user_inputs.join("<br>"));
</script>
</div>
</body>
</html>
CSS代码...
JS代码...
xxxxxxxxxx