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.
「start-」で始まり「end-」文字列で終わる ID を持つ要素を選択する必要があります。jqueryセレクターを使用してこれを行うにはどうすればよいですか? ラインセレクターを 1 つお願いします。
その答えは、開始せずに終了する人と、その逆の正しい答えの両方の2つのタイプを選択します
http://jsfiddle.net/XQBGs/
$('[id|="start"][id$="end-"]')