日期:2014-05-16 浏览次数:20347 次
<script language=javascript> function p_del(a1,a2) { var msg = a1+"\n"+a2; if (confirm(msg)==true){ return true; }else{ return false; } } </script> </head> <body> <% String s1="a"; String s2 = "b"; %> <a href="../www.baidu.com" onclick="javascript:return p_del('<%=s1%>,<%=s2%>')">删除</a>