Sunday 15 September 2013

click event is not captured on android but works on other browsers

click event is not captured on android but works on other browsers

$('#btnSearchMobile').trigger('click');
document.getElementById('btnSearchMobile').click();
I have tried the above 2 ways to initiate the click on the element id
btnSearchMobile. It works for chrome, firefox, safari, but not on android.
Do you guys have any idea why?
Sorry if it isn't clear. Do comment :)

No comments:

Post a Comment