{"provider_name":"Hatena Blog","categories":["js"],"blog_title":"\u305d\u308c\u30de\u30b0\u3067\uff01","url":"https://takuya-1st.hatenablog.jp/entry/2016/03/24/222737","author_url":"https://blog.hatena.ne.jp/takuya_1st/","blog_url":"https://takuya-1st.hatenablog.jp/","height":"190","width":"100%","version":"1.0","published":"2016-03-24 22:27:37","author_name":"takuya_1st","provider_url":"https://hatena.blog","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F03%2F24%2F222737\" title=\" dom event currentTarget\u3068target\u306e\u9055\u3044\u3002 - \u305d\u308c\u30de\u30b0\u3067\uff01\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":" dom event currentTarget\u3068target\u306e\u9055\u3044\u3002","description":"currentTarget\u306b\u3064\u3044\u3066 event.target \u306f\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u305f\u8981\u7d20 event.currentTarget \u306f\u30a4\u30d9\u30f3\u30c8\u30ea\u30b9\u30ca\u3092\u30bb\u30c3\u30c8\u3057\u305f\u8981\u7d20\u3092\u6307\u3059\u3002 \u3068\u304d\u3069\u304d\u3001\u9593\u9055\u3044\u305d\u3046\u306b\u306a\u308b\u306e\u3067\u30e1\u30e2\u3002 \u4f8b body #\u2190\u30ea\u30b9\u30ca\u30fc \u2514\u2500\u2500 form \u251c\u2500\u2500 input \u2514\u2500\u2500 label #\u30af\u30ea\u30c3\u30af\u30a4\u30d9\u30f3\u30c8 \u4f8b\u306e\u5834\u5408\u3001body \u306b\u30ea\u30b9\u30ca\u30fc\u3092\u8ffd\u52a0\u3057\u305f\u306e\u3067\u3001label -> input -> ... -> body \u306b\u30a4\u30d9\u30f3\u30c8\u304c\u6765\u308b\u3002 { target : input , currentTarget: body } body \u306b\u307e\u3068\u3081\u3066\u767b\u9332\u3057\u3066\u53d7\u3051\u53d6\u308b\u30c6\u30af\u30cb\u30c3\u30af\u3082\u591a\u7528\u3055\u308c\u308b\u3051\u3069\u30fb\u30fb\u30fbaddEv\u2026","image_url":null}