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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -