2011年3月11日
摘要: protectedvoidButton1_Click(objectsender,EventArgse){//当弹出confirm框的时候是否往下继续Response.Write(string.Format("<script>if(confirm('continueornot!')){{{0}}}else{{{1}}}</script>",WriteStr(),Cancel()));}privatestaticstringWriteStr(){return"alert('ok')";}privates 阅读全文
posted @ 2011-03-11 10:39 .net小鸟 阅读(1522) 评论(0) 推荐(0) 编辑