使用javascript在asp.net中的确认框

人气:938 发布:2022-09-22 标签: asp.net ASP.NET

问题描述

hi i试图确认是否添加更多记录而无法运行代码 请找到我的脚本

hi i tried to get confirmation whether to add more records or not and unable to run the code Please find my script

Response.Write("<Script>if(confirm('Data updated Any more data you add ??')) "+ txtdescription.Text ="" +" ;else ;</Script>");

请指导这个

Please guide on this

推荐答案

查看这篇文章 使用&调用RegisterStartUpScript,RegisterClientScript和Client-Side Script [

827