62,267
社区成员
发帖
与我相关
我的任务
分享
this.Button1.Attributes.Add("onclick", "return confirm('发送产品类型:'+document.getElementById('" + DropDownList1.ClientID + "').value+' 产品数量:'+document.getElementById('" + txtPackScore.ClientID + "').value +' 状态:'+'"+this.getState()+"'+'\\n'+'是否确定发送')");
<script type='text/javascript'>
confirm('abc\rsdf');
</script>