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>