Enable first button on page load

Created the below layout in codepen. I want to automatically focus the first button(Show first Image) on page load. I’ve tried it by using click() function but its not working. Any suggestions?

Hi @achu ,
I suggest you a site that will allow you to understand better.

Tried this but its not working.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.