Last active
March 4, 2016 14:18
-
-
Save do9iigane/5696305 to your computer and use it in GitHub Desktop.
jqueryのtapイベントハンドラについて
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
jQuery( ".selector" ).click(function( event ) { ... } ) | |
//でも駄目なら | |
jQuery( ".selector" ).on( "tap", function( event ) { ... } ) | |
//まだ駄目なら | |
jQuery( ".selector" ).live( "tap", function( event ) { ... } ) | |
//それでも駄目なら | |
jQuery( ".selector" ).bind( "tap", function( event ) { ... } ) | |
//これでも駄目なら | |
jQuery( ".selector" ).bind( "touchstart", function( event ) { ... } ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment