javascript - Does HTML's 'onclick' work on mobile devices? -
does html onclick attribute work on ios & android devices in both chrome , safiri.
e.g. if html button has onclick attribute run javascript function, touch gesture work click?
yes work.
this has been answered here: would onclick event work on touch on touch-screen devices?
see https://www.w3schools.com/tags/ev_onclick.asp browser support
Comments
Post a Comment