I struggled with this for a while, so figured I’d put the answer on here.
How can I have an invisible button on jQM?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create the button using this tag –
<input type="[yourchoice, mine was submit]" id="[yourchoice]" data-role="none" />The crucial part is the
data-role="none". This means jQM ignores it, so when you use$.hide(), you’re not left with a random empty blob of rendering on the screen.