摘要:
protectedvoidButton1_Click(objectsender,EventArgse){//当弹出confirm框的时候是否往下继续Response.Write(string.Format("<script>if(confirm('continueornot!')){{{0}}}else{{{1}}}</script>",WriteStr(),Cancel()));}privatestaticstringWriteStr(){return"alert('ok')";}privates 阅读全文