dojo is no defined

lean1252 2008-07-28
对于dojo不是很熟的我,提个简单的问题:
<script type="text/javascript"><!--
popup_window=function()
{
  var newWindow = window.open('/TatHome/external.svc?page=admin%2FAdminViewTeacherInfo&sp=l1041', 'TeacherInfo', 'top=10,left=10,width=830,height=700,scrollbars=yes,resizable=yes');newWindow.focus();
}
;
dojo.require("tapestry.event"); //此处firebug错误提示 dojo is not defined
popup_window_0=function()
{
  var newWindow = window.open('/TatHome/external.svc?page=admin%2FAdminViewTeacherInfo&sp=l1040', 'TeacherInfo', 'top=10,left=10,width=830,height=700,scrollbars=yes,resizable=yes');newWindow.focus();
}
;

popup_window_1=function()
{
  var newWindow = window.open('/TatHome/external.svc?page=admin%2FAdminViewTeacherInfo&sp=l1039', 'TeacherInfo', 'top=10,left=10,width=830,height=700,scrollbars=yes,resizable=yes');newWindow.focus();
}
;

popup_window_2=function()
{
  var newWindow = window.open('/TatHome/external.svc?page=admin%2FAdminViewTeacherInfo&sp=l1033', 'TeacherInfo', 'top=10,left=10,width=830,height=700,scrollbars=yes,resizable=yes');newWindow.focus();
}
;

// --></script>


在页面中运行时,popup_window是可以触发的,而popup_window_1,popup_window_2确无法触发,本人感觉是
引用
dojo.require("tapestry.event")
这段代码导致的问题,所以去掉后,是可以触发其他两个的,所以我想了解生成该段代码的机制,为什么会在那里生成“dojo.require("tapestry.event")”,还请有遇上类似问题的兄台指点一二。
lean1252 2008-07-28
原来添加的该代码和tapestry有关,问题已得到解决
Global site tag (gtag.js) - Google Analytics