大小写
var myda=new Date()

解决方案 »

  1.   

    不是
    var myda=New Date()而是
    var myda=new Date()
      

  2.   

    javascript,区分大小写
    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    </head>
    <script language="javascript" type="text/javascript">
    var s="abcdefg";
    var myda = new Date();
    document.write(s.blink());
    document.write(s.fontcolor("red"));
    document.write(s.fixed());
    document.write(s.fontsize(36));
    document.write(s.toUpperCase());
    </script>
    <body>
    </body></html>