Lightweight alternative to jQuery for class / id selecting

前端 未结 6 1267
半阙折子戏
半阙折子戏 2020-12-31 07:42

Let\'s say I want to build a non-dependent javascript framework/script. Is there a way to utilize jQuery\'s amazing class and element selecting functionality



        
6条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 08:28

    Have you looked at zepto.js? You'd still be dependent on a framework, but it's much lighter weight: about 5kb instead of 31kb.

提交回复
热议问题