Report an error
P粉373939045
P粉373939045 2022-12-21 22:44:27
0
1
619

Teacher, I wrote the carousel image based on your code. Why did I get the error "Cannot set property 'onclick' of null"" when binding the click event of the carousel box?

P粉373939045
P粉373939045

reply all(1)
普通收录

Is the JS executed after the browser loads the button node first? Try loading the js at the bottom

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!