Question

11
Replies
4999
Views
Close popover
Shikhar Dongre (SHIKHARPEGA)
Infosys Ltd

Infosys Ltd
AU
SHIKHARPEGA Member since 2010 4 posts
Infosys Ltd
Posted: July 18, 2016
Last activity: November 4, 2016
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 Experience
Moderation Team has archived post,
Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question.