Reputation: 517
$('#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 :)
Upvotes: 0
Views: 218