Skip to main content
syntax error
Source Link

You can try this:

if ($(#remember'#remember').is(':checked')){ alert('checked'); }else{ alert('not checked') } 

You can try this:

if ($(#remember).is(':checked')){ alert('checked'); }else{ alert('not checked') } 

You can try this:

if ($('#remember').is(':checked')){ alert('checked'); }else{ alert('not checked') } 
added 21 characters in body
Source Link
Dino
  • 8.4k
  • 13
  • 50
  • 93

You can try this:

if ($(#remember).is(':checked')){ alert('checked'); }else{ alert('not checked') } 
if ($(#remember).is(':checked')){ alert('checked'); }else{ alert('not checked') } 

You can try this:

if ($(#remember).is(':checked')){ alert('checked'); }else{ alert('not checked') } 
Source Link

if ($(#remember).is(':checked')){ alert('checked'); }else{ alert('not checked') }