这是我的代码
<script type="text/javascript">
                var code="<Codefan:CodefanCalendar ID='CodefanCalendar2' style='width:100px' runat='server' BorderStyle='Solid' BorderWidth='1px' ButtonStyle='border:1pt solid blue;height:19px;' ButtonText='..'></Codefan:CodefanCalendar>";
                document.writeln(code);
             </script>
             <Codefan:CodefanCalendar ID='CodefanCalendar1' style='width:100px' runat='server' BorderStyle='Solid' BorderWidth='1px' ButtonStyle='border:1pt solid blue;height:19px;' ButtonText='..'></Codefan:CodefanCalendar>
不知道为什么其中用js做的部分总是出现说缺少“;”的错误,高手帮忙啊CodefanCalendar是我从网上下载的,可以用的,上面代码的最后部分是可以显示的!!