English 中文(简体)
jjQuery 移动日志所有事件,以修正空白页
原标题:jQuery Mobile log all events, to fix blank page

我有一个多页的缩略图文档。 所有的文件都运行顺利, 但每时每刻, 在浏览各页时, 一页会以白色屏幕显示。 页脚和页眉会显示, 但中间没有显示任何页脚和页眉 。

我的猜测是,一个特定的事件正在造成错误, 或者至少会指向我正确的方向。 我如何让 jQuery 在浏览器主控器发生时写出每个事件? log?

最佳回答

jQuery Moved 没有一个能够调试所有 JQM 事件的开关。 网站推荐未压缩脚本, 供调试使用, 但并不完全方便在控制台记录所有内容 。

It may help to bind to every event on the page or at least the $.mobile.base object. Check out this post for how to do that: How can I bind all events on a DOM element?

问题回答




相关问题
getGridParam is not a function

The HTML: <a href="javascript:void(0)" id="m1">Get Selected id s</a> The Function: jQuery("#m1").click( function() { var s; s = jQuery("#list4").getGridParam( selarrrow )...

selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

jQuery cycle page with links

I am using the cycle plugin with pager functionality like this : $j( #homebox ) .cycle({ fx: fade , speed: fast , timeout: 9000, pager: #home-thumbs , ...

jquery ui dialog opens only once

I have a button that opens a dialog when clicked. The dialog displays a div that was hidden After I close the dialog by clicking the X icon, the dialog can t be opened again.

jConfirm with this existing code

I need help to use jConfirm with this existing code (php & Jquery & jAlert). function logout() { if (confirm("Do you really want to logout?")) window.location.href = "logout.php"; } ...

Wrap text after particular symbol with jQuery

What I m trying to do, is wrap text into div inside ll tag. It wouldn t be a problem, but I need to wrap text that appears particularly after "-" (minus) including "minus" itself. This is my html: &...

热门标签