with
<html>
<head>
<title>with</title>
<script language="javascript">
<!--
??? with(document){
??????? write("您好!");
??????? write("<br />這個文檔的標題是:"+title);
??????? write("<br />這個文檔的URL是:"+URL);
??????? write("<br />現在您不用每次都寫出document對象的前綴");
??? }
-->
</script>
</head>
<body>
</body>
</html>
總結
- 上一篇: american php framewo
- 下一篇: Focus 焦点定位