Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
次のコードは安全ですか?document利用可能になりますか?
document
<html> <head> <script type="text/javascript"> $(document).delegate(".my-class", "click", function() { /* do something here */ } ); </script> </head> </html>
はい、完全に安全です。document常に存在します。