jQuery vs document.querySelectorAll

后端 未结 12 1065
闹比i
闹比i 2020-11-28 01:28

I heard several times that jQuery\'s strongest asset is the way it queries and manipulates elements in the DOM: you can use CSS queries to create complex queries that would

12条回答
  •  执笔经年
    2020-11-28 02:02

    as the official site says: "jQuery: The Write Less, Do More, JavaScript Library"

    try to translate the following jQuery code without any library

    $("p.neat").addClass("ohmy").show("slow");
    

提交回复
热议问题