Created
February 5, 2013 02:16
-
-
Save ryonext/4711554 to your computer and use it in GitHub Desktop.
jQueryのセレクタattrの使い方
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
<div class="btn" data-toggle="modal" href="#message_modal" id="select_target" target_id="1">aaa</div> | |
ここからtarget_idを抜く方法 | |
$("#select_target").attr("target_id") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment