...and the winner is:
!$('#my-test-checkbox')[0].checked
even though i like to read
$('#my-test-checkbox').is(':not(:checked)')
http://jsperf.com/not-checked-vs-not-checked
!$('#my-test-checkbox')[0].checked
even though i like to read
$('#my-test-checkbox').is(':not(:checked)')
0 comments :
Post a Comment