Contributor
4060 Points
1578 Posts
Dec 16, 2019 10:04 AM|yij sun|LINK
Hi rajemessage,
As far as I think,CSS could execute onclick event. It relies on the pseudo-class and on the general sibling selector ~.
However,the onclick event isn't same with those which are set using javascript.It only be used in the Foreground code and change the style of page.
More details,you could refer to below article:
https://tympanus.net/codrops/2012/12/17/css-click-events/
Best regards,
Yijing Sun
Contributor
4060 Points
1578 Posts
Re: onclick event can be set using jquery or js. is it possible to set an event using css or xslt
Dec 16, 2019 10:04 AM|yij sun|LINK
Hi rajemessage,
As far as I think,CSS could execute onclick event. It relies on the pseudo-class and on the general sibling selector ~.
However,the onclick event isn't same with those which are set using javascript.It only be used in the Foreground code and change the style of page.
More details,you could refer to below article:
https://tympanus.net/codrops/2012/12/17/css-click-events/
Best regards,
Yijing Sun