Last active
June 3, 2016 06:17
-
-
Save ginlime/50def998e8d89bd4236454e2c7e164a1 to your computer and use it in GitHub Desktop.
頭痛い。
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
var hoge = ''; | |
$(selector).on(event,function(){ | |
$.ajax({ | |
async:false, | |
success:function(){ | |
hoge='1'; | |
} | |
}); | |
if(hoge=='1'){ | |
fuga(); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment