Created
May 17, 2017 07:00
-
-
Save maecha/fc1bb414da1b0aa6d32a59b2c3e45616 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
$(document).ready(function(){ | |
$('.jsInputOnClickFocus').focus(function(){ | |
$(this).select(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment