I'm upgrading from jQuery 1.5.1 -- I've read about the "new" way to "check" checkboxes (in 1.6) using
prop("checked", true);
But what is the correct/preferred way to remove a checkbox?
Both these methods appear to work
$('#someSelector').removeProp("checked");
or
$('#someSelector').prop("checked", false);
Is there a distinction between these methods? Which should I be using?
Thanks