请问,document.context事啥意思,如果我改了这个,会有 神莫样的结果

解决方案 »

  1.   

    是自定义属性吧,document的原始属性或对象中没有它!倒是有个oncontextmenu事件!
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title> new document </title>
        <meta name="generator" content="editplus" />
        <meta name="author" content="Gao YiXiang" />
        <meta name="email" content="[email protected]" />
        <meta name="keywords" content="javascript dhtml dom" />
        <meta name="description" content="I love web development." />
    </head>
    <body>
        <script type="text/javascript">
        <!--
    for (var p in document)
    {
        document.write(p + "<br />");
    }
        //-->
        </script>
    </body>
    </html>