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.
jquery nth-child セミコロン内で算術演算を行うことはできますか?
例えば:
alert($('img:nth-child(2+1)'));
何度も確認しましたが、まだアラートを受け取ることができません。
これを試して:
alert($("img:nth-child("+(2+1)+")");