I am building a mobile web app with jQuery Mobile and I want to check if a checkbox is checked. Here is my code.
This should work
function validate() { if ($('#remeber').is(':checked')) { alert("checked"); } else { alert("You didn't check it! Let me check it for you."); } }