Going a bit crazy with this one...
I have a simple event listener, which fires on desktop, but does not fire on mobile.
Before I investigate other scripts preventing my event listener from firing, I wonder if there were any limitations in run an eventlistener on an input
dom element?
My code is simple!
<input name="login" class="button" id="signup-login" type="submit" value="Continue" ng-click="SignUp()">
document.getElementById("signup-login").addEventListener("click", function() {
console.log('click!');
});
However, I cannot figure why something so simple, will not work in this scenario?
Any ideas, would be greatly appreciated!
Thanks,