xchapter

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年3月4日

摘要: View Code 1 String.prototype.replaceAll=function(exp,str){return this.replace(new RegExp(exp,"g"),str);} 2 3 4 function btnAlert(){ 5 var tmp=confirm("确认对话框文本"); 6 if(tmp){ 7 alert("选择了确认"); 8 var sl=window.prompt("提示对话框文本","对话框输入值"); 9 if(sl!=" 阅读全文
posted @ 2012-03-04 23:47 xchapter 阅读(161) 评论(0) 推荐(0) 编辑

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2012-03-04 23:42 xchapter 阅读(20) 评论(0) 推荐(0) 编辑