Skip to main content
fix missing parenthesis (and other minor grammar to get past the min character count)
Source Link

This should allow you to checkdetermine if an element with id='remember' is 'checked':

if (document.getElementById('remember').is(':checked')) 

This should allow you to check if element with id='remember' is 'checked'

if (document.getElementById('remember').is(':checked') 

This should allow you to determine if an element with id='remember' is 'checked':

if (document.getElementById('remember').is(':checked')) 
added 85 characters in body
Source Link
Matas Vaitkevicius
  • 61.9k
  • 37
  • 253
  • 278

This should allow you to check if element with (document.getElementById('remember').is(':checked')id='remember' is 'checked'

if (document.getElementById('remember').is(':checked') 

if (document.getElementById('remember').is(':checked')

This should allow you to check if element with id='remember' is 'checked'

if (document.getElementById('remember').is(':checked') 
Source Link
Peter
  • 227
  • 2
  • 2

if (document.getElementById('remember').is(':checked')