How can I detect DOM ready and add a class without jQuery?

后端 未结 8 1391
独厮守ぢ
独厮守ぢ 2020-11-28 06:04

I want to rewrite this line without using jQuery so it can be applied quicker (and before the downloading of the jQuery library). The line is...

$(document).         


        
8条回答
  •  心在旅途
    2020-11-28 07:02

    just put this

    
    

    before tag. Simple and easy (and very close) solution.

提交回复
热议问题