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

后端 未结 8 1362
独厮守ぢ
独厮守ぢ 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 06:41

    If just dealing with modern browsers, you could place this just after the opening body tag.

    
    

提交回复
热议问题