skip to Main Content

jQuery click() not working in mobile browsers

<button class="proceed"> <div class="text-sm-bold clr-white" onclick="proceedBook()">PROCEED FOR BOOKING</div> </button> <button id="hid-cb" hidden type="submit" class="proceed-btn" name="conform-booking">PROCEED FOR BOOKING</button> const proceedBook= ()=>{$("#hid-cb").click()} $("#hid-cb").click() not work in mobile instead i use jQuery vclick const proceedBook= ()=>{$("#hid-cb").vclick()} error: Uncaught TypeError: $(...).vclick is not a…

VIEW QUESTION
Back To Top
Search