$("a")
//aタグの要素をすべて選択
$("#myId")
//IDがmyIdの要素をすべて選択
$(".myClass")
//クラスがmyClassの要素をすべて選択
//セレクタで選択した要素は
//配列風のJqueryオブジェクトになっている
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme