一个简单的格式语法问题?急急急........
Response.Write( " <script language=javascript> window.open( 'ShowItem.aspx?ItemID= '+ "+addArgs[0]+ ") </script> ");
请问这句应该如何修改?addArgs[0]的值如何赋给ItemID
[解决办法]
如果你的 addArgs[0] 是服务器端变量
则
Response.Write( " <script language=javascript> window.open( 'ShowItem.aspx?ItemID= "+addArgs[0].ToString()+ " ') </script> ");
[解决办法]
Response.Write( " <script language=javascript> window.open( 'ShowItem.aspx?ItemID= "+addArgs[0].ToString()+ " ') </script> ");
还不行就贴上错误来