I have a button that uses Ajax and JavaScript to send info to the database. It works fine on Chrome and on Android (my Galaxy Note 8). But the weird thing is, I used the exact same syntax (but different function) for another button, and that worked on every device. Help!!
I've tried changing the .click(function) to .on('click touchstart') in case the click wasn't being registered on mobile, but that wasn't it. I've also tried replacing the function with just …