Seeing HTML source changes after javascript has acted upon it, in Chrome

后端 未结 4 1465
予麋鹿
予麋鹿 2020-12-11 01:25

I have an HTML document with inline javascript which adds some

elements. The elements appear on the screen, but I can\'t see any change in the HTML
相关标签:
4条回答
  • 2020-12-11 01:50

    Use Firefox, install web developer and choose "view source"=>"view generated source"

    0 讨论(0)
  • 2020-12-11 01:54

    Use firebug when using Firefox
    For Chrome there is built in tool(use Ctrl+Shift+I)

    0 讨论(0)
  • 2020-12-11 01:58

    I'm fairly certain that using "View" -> "Developer" -> "Developer Tools" will allow you to see the changes made.

    0 讨论(0)
  • 2020-12-11 02:04

    Right-click on the element and select "inspect element"

    0 讨论(0)
提交回复
热议问题