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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -