第一季

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

2013年2月28日

摘要: 回调方法里面只能返回 字符串window.onbeforeunload = funcReffuncRefis a reference to a function or a function expressionThe function should assign a string value to thereturnValueproperty of the Event object and return the same stringwindow.onbeforeunload = function(e) {return 'Dialog text here.';};jQuery( 阅读全文
posted @ 2013-02-28 11:38 第一季 阅读(759) 评论(0) 推荐(0) 编辑