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 allow you to check if element with id='remember' is 'checked'
id='remember'
'checked'
if (document.getElementById('remember').is(':checked')