小页面的弹出

lqin97 2004-05-14 03:26:46
<td bgcolor="#0099CC"><font color="#FFFFFF"><font face="宋体">发布权限者</font> </font></td>
<td bgcolor="#F5F5F5"><font face="宋体">
<input type="text" name="x_menu_parentID" value="<%= x_menu_parentID %>">
<input type="button" name="x_menu_parentID" value="选择用户"

onclick="MM_openGroupWindow(x_menu_parentID)">
</td>
然后
<script language="javascript">
<!--
function MM_openGroupWindow(theField)
{
MM_openBrWindow('../grouplist.asp?nowfield='+theField+'&oldvalue='+form1[theField].value,'','left=330,top=100,scrollbars=yes,

width=450,height=300')
}
//-->
</script>
样可以吗?错在哪里呢?勤请教!
...全文
24 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
lqin97 2004-05-14
  • 打赏
  • 举报
回复
现在我改过了,还是不行啊!
xtzde 2004-05-14
  • 打赏
  • 举报
回复
text 和button 的name值相同
lawdoor 2004-05-14
  • 打赏
  • 举报
回复
用下面这个函数吧!
<SCRIPT language=Javascript>
<!--
function PopupPage(left, top, width, height,URL)
{
var windowprops = "location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no" +",left=" + left + ",top=" + top + ",width=" + width + ",height=" + height;
popup = window.open(URL,"MenuPopup",windowprops);
}
// Author:kgjj;usage:PopupPage(267,50,200,245,'url') End -->
</SCRIPT>
<a href=# onclick="PopupPage(267,50,670,600,'sanji/20021224_02.html')" class=setcolor1>个人简历</a>

28,390

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧