some javascript functions don't work on iOS devices (iPhone, iPad)
<p>hope you can help me. I'm freaking out after spending several days trying to solve this problem. </p>

<p>My JavaScript mouse event functions don't work on iOS devices. I red <a href="https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW1" rel="nofollow">this apple article</a> and i added to my html tags this attribute: <code>onclick="void(0)"</code> but it just doesn't want to work. i can trigger an alert message on any mouse events like this:</p>

<pre><code>document.getElementById("el").addEventListener("mousedown", function(){
alert("Bla-Bla");
)};
</code></pre>

<p>but stuff like this inside the same eventlistener is not being executed:</p>

<pre><code>document.getElementById("el").classList.remove("bla-class");
</code></pre>

<p>does somebody maybe know if there is a solution for this problem? </p>