web mobile terminal h5 development --ios pit

Pit: click event on ios failures?

Solution:

1. click events bind directly to the target element (ie .target) on
2. The target element into <a> element such as a clickable button or
3. The event will be entrusted to click on the parent body or element of a non-document
4. add an element to the target pattern rule cursor: pointer;

Guess you like

Origin www.cnblogs.com/wangchengb/p/11434377.html