如何看看jQuery Mobile在后台加载? [英] How do I see what jQuery Mobile loaded in the background?

查看:101
本文介绍了如何看看jQuery Mobile在后台加载?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用jQuery Mobile,我已经看到当点击链接并提供相关页面时,如何添加到现有的DOM。然后,当准备好时,它切换到新的 data-role =page。但是当我在浏览器(Google Chrome或Mozilla Firefox)中进行查看源代码时,我看到原始页面已经交付,而没有额外的加载(DOM注入)。我如何看到浏览器真正拥有(后渲染HTML)?如果它恰好是一个JavaScript解决方案,请不要假定我知道放在哪里,如何触发它来显示内容。

Using jQuery Mobile, I have seen how it adds to the existing DOM when links are clicked and a related page is served. Then, when ready, it switches to that new data-role="page". But when I do a "view source" in the browser (Google Chrome or Mozilla Firefox), I see the original page, as delivered, without the additional things loaded later (DOM injections). How can I see what the browser really has (post-render HTML)? If it happens to be a JavaScript solution, please don't presume I know where to put it and how to trigger it to show the content.

推荐答案

在Chrome中:扳手>工具>开发工具将是查看直播DOM的一种方式。

In Chrome: Wrench > Tools > Developer Tools would be a way to see the 'live' DOM.

这篇关于如何看看jQuery Mobile在后台加载?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆