`<p style="display:none;"><script>Will the code here run? </script ></p>`
认证0级讲师
It will. display:none just hides it, the actual content is still there
Of course you can. The node is just hidden, but still in the dom tree.
It will. display:none just hides it, the actual content is still there
Of course you can. The node is just hidden, but still in the dom tree.