2018-03-02から1日間の記事一覧
$(document).on 'click', '.tab-pane.active .image-garally img', -> console.log $(this) return もしくは親要素の下のクラスという指定の仕方をするとうまく動く $('.tab-pane.active').on 'click', '.image-garally img', -> console.log 'boxをクリック…
$(document).on 'click', '.tab-pane.active .image-garally img', -> console.log $(this) return もしくは親要素の下のクラスという指定の仕方をするとうまく動く $('.tab-pane.active').on 'click', '.image-garally img', -> console.log 'boxをクリック…