首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

asp中弹出窗口有关问题,为什么小弟我不成功

2012-02-04 
asp中弹出窗口问题,为什么我不成功script!--functionedit(id){alert( 产生未知错误,操作中断! )wind

asp中弹出窗口问题,为什么我不成功
<script>
<!--

function   edit(id){
alert( "产生未知错误,操作中断! ");
window.open( "edit.asp?id= "+id,   "newwindow ",   "height=100,   width=400,   toolbar=  
no,   menubar=no,   scrollbars=no,   resizable=no,   location=no,   status=no ")   ;
}

-->
</script>
--------------------------------------
<td   valign=top   align= "center "   bordercolor= "#000000 "   width= "10% ">
                                          <a   href= "# "   title= '资料 '   onclick= " "edit( "&rs( "Id ")& ") " "> [编辑] </a> </td>

[解决办法]
调用的时候出错鸟...改为下面的:
<td valign=top align= "center " bordercolor= "#000000 " width= "10% ">
<a href= "# " title= '资料 ' onclick= " "edit( <%=rs( "Id ")%> ) " "> [编辑] </a> </td>

热点排行