开发者

How do I see what jQuery Mobile loaded in the background?

开发者 https://www.devze.com 2023-04-06 17:27 出处:网络
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

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 s开发者_如何学运维ee 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.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消