Created
January 21, 2015 04:58
-
-
Save inc2734/ae217cc4967073ed8bc5 to your computer and use it in GitHub Desktop.
画像( img#hoge )を読み込んだ後に処理を行う
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$( '<img />' ).one( 'load', function() { | |
// do something | |
} ).attr( 'src', $( 'img#hoge' ).attr( 'src' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment