How do I see what jQuery Mobile loaded in the back

2019-05-31 16:32发布

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.

1条回答
Lonely孤独者°
2楼-- · 2019-05-31 16:46

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

查看更多
登录 后发表回答