Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
変数を含む ID を持つ要素の子要素であるクラスを対象とする正しい構文は何ですか。
var がなければ動作します:
$( "#parent_el .child-class" )
そのように変数を追加する場合、正しい構文は何ですか?
$( "#parent_el_" + uniqueIdForParent .child-class )