Question

11
Replies
4131
Views
SHIKHARPEGA Member since 2010 4 posts
Infosys Ltd
Posted: 4 years ago
Last activity: 3 years 10 months ago
Closed

What is data-click attribute? + Fire the onclick event of a button - Javascript

Hi All,

I was trying to make a custom button in a section and found that the code which is generated OOTB has a data-click attribute. I want to actually create a div element which will be getting refresh on its own in some time and on refresh will be calling the onclick event of my custom button. But the code which is getting generated does not have anything like ONCLICK. Please help me in understanding what actually this data-click is and how to fireEvent data-click?

***Moderator edit: Vidyaranjan| Included Category ***

User Interface
Moderation Team has archived post
Share this page LinkedIn