expando Property
Gets or sets a value indicating whether arbitrary variables can be created within the object.
1、语法:
object.expando
2、可能的值
- true ----默认值 Creation of arbitrary variables is allowed.(创建任意的变量是允许的)
- false ----Creation of arbitrary variables is not allowed.
<html>
<head>
<script type="text/javascript">
//Set the expando property to false.
document.expando = false;
</script>
</head>
<body>
<div>
<span id="test" unselectable="on">This text should be selectable.</span>
</div>
</body>
</html>
扩展阅读:
1、http://technet.microsoft.com/zh-cn/library/ms533747(en-us,VS.85).aspx