其实这也应当是所有flash的问题,当出现错误的时候就什么提示信息都没有,有几个解决办法。
1.在服务器端的响应文件里写入log。
2.通过使用http://www.charlesproxy.com/download/latest-release/download.do这种网络监测软件来监测网络通信状况。当然需要在php.ini中打开display_errors”,通常这种信息不能在firebug中显示,因为不是由firefox发出的请求。
return false from within a jQuery event handler is effectively the same as calling both e.preventDefault and e.stopPropagation on the passed jQuery.Event object. e.preventDefault() will prevent the default event from occuring, e.stopPropagation() will prevent the evet from bubbling up and return false will do both. Note that this behaviour differs from normal (non-jQuery) event handlers, in which, notably, return false does not stop the event from bubbling up . 所以on前半部分的selector必须是静态的。
评论
发表评论